From d715be12b1de1e310f1b53922090c64c534d0fdc Mon Sep 17 00:00:00 2001
From: Britney Fransen <brfransen@gmail.com>
Date: Fri, 16 Jan 2015 19:38:33 +0000
Subject: LinHES-config: plymouth_config.py: add --mkinitcpio flag to rebuild
 image

---
 abs/core/LinHES-config/PKGBUILD           | 4 ++--
 abs/core/LinHES-config/plymouth_config.py | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index cd36f22..182e01e 100755
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -1,6 +1,6 @@
 pkgname=LinHES-config
 pkgver=8.3
-pkgrel=4
+pkgrel=5
 conflicts=(MythVantage-config MythVantage-config-dev LinHES-config-dev LinHes-config )
 pkgdesc="Install and configure your system"
 depends=('bc' 'libstatgrab' 'mysql-python' 'expect' 'curl' 'dnsutils' 'parted'
@@ -183,5 +183,5 @@ md5sums=('17d9dd5a097fbbd4dae75dff8e2677ff'
          '3866086e6af5e3528a66eff492f2f4dd'
          'c9279fa095af624ee3d9bc75d3328360'
          '02cf69074d2bbacef05fa3e451af9af3'
-         '85d15efc55074a94c58d44542ea1dd13'
+         '10354854c29d894d3598639eaa1df72c'
          '7acbd2064db905e76372a0618b24a6d9')
diff --git a/abs/core/LinHES-config/plymouth_config.py b/abs/core/LinHES-config/plymouth_config.py
index 7c7546d..bb60722 100755
--- a/abs/core/LinHES-config/plymouth_config.py
+++ b/abs/core/LinHES-config/plymouth_config.py
@@ -5,7 +5,7 @@ __author__ = "James Meyer"
 __date__   = "Dec 11th 2012"
 
 
-import subprocess
+import subprocess, sys
 
 
 class plymouth_driver():
@@ -180,7 +180,7 @@ def go():
     #print p.get_old_modules()
     #print p.get_new_modules()
 
-    if p.create_newmkinitcpio() == True:
+    if p.create_newmkinitcpio() == True or "--mkinitcpio" in sys.argv:
         p.run_mkinitcpio()
 
 
-- 
cgit v0.12

