summaryrefslogtreecommitdiffstats
path: root/abs/core/LinHES-config
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-04-30 16:42:00 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-04-30 16:42:00 (GMT)
commit78939c5c83b0884c92f69ee542308b72ddc2c4ee (patch)
treeec988196a153547d83121359fe0dc1c685d67817 /abs/core/LinHES-config
parent6a936942119984f56abf30bc43970d10a28fa358 (diff)
downloadlinhes_pkgbuild-78939c5c83b0884c92f69ee542308b72ddc2c4ee.zip
linhes_pkgbuild-78939c5c83b0884c92f69ee542308b72ddc2c4ee.tar.gz
linhes_pkgbuild-78939c5c83b0884c92f69ee542308b72ddc2c4ee.tar.bz2
LinHES-config: dont' install supplemental if it's not selected.
Diffstat (limited to 'abs/core/LinHES-config')
-rw-r--r--abs/core/LinHES-config/PKGBUILD2
-rw-r--r--abs/core/LinHES-config/mv_supplemental.py10
2 files changed, 9 insertions, 3 deletions
diff --git a/abs/core/LinHES-config/PKGBUILD b/abs/core/LinHES-config/PKGBUILD
index 5347d53..a8efca2 100644
--- a/abs/core/LinHES-config/PKGBUILD
+++ b/abs/core/LinHES-config/PKGBUILD
@@ -138,7 +138,7 @@ md5sums=('18af4fe481e1fc2ae02050026eb5cd27'
'9a1728bfd4fb83ca1c46321b57ef0248'
'23d0e12b7ca1cc6ea6b993c1d7ff20b9'
'0b5b9e5385c7ae77e561812e96ce8161'
- '404f290d52e9c05a502910a7cb4140f1'
+ '755c05b833aca6c5be130972af052e8b'
'd8f80e5686d02555f044363f1ac17d97'
'2596460462cf6c889cf8f95485537b20'
'a63ff9ef5250965aeabc74bfa8e43981')
diff --git a/abs/core/LinHES-config/mv_supplemental.py b/abs/core/LinHES-config/mv_supplemental.py
index ca83400..e25465e 100644
--- a/abs/core/LinHES-config/mv_supplemental.py
+++ b/abs/core/LinHES-config/mv_supplemental.py
@@ -33,6 +33,12 @@ def windowmanager(systemconfig):
def supplemental(systemconfig):
logging.info("____Start of supplemental config ____")
- cmd='''/usr/LH/bin/install_supplemental_service.sh'''
- mv_common.runcmd(cmd)
+ try:
+ supplemental=systemconfig.get("supplemental")
+ except:
+ supplemental = "0"
+ if supplemental == "1":
+ logging.info(" Installing supplemental system\n")
+ cmd='''/usr/LH/bin/install_supplemental_service.sh'''
+ mv_common.runcmd(cmd)
logging.info("__End of supplemental\n") \ No newline at end of file