From 78939c5c83b0884c92f69ee542308b72ddc2c4ee Mon Sep 17 00:00:00 2001 From: James Meyer Date: Mon, 30 Apr 2012 11:42:00 -0500 Subject: LinHES-config: dont' install supplemental if it's not selected. --- abs/core/LinHES-config/PKGBUILD | 2 +- abs/core/LinHES-config/mv_supplemental.py | 10 ++++++++-- 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 -- cgit v0.12