summaryrefslogtreecommitdiffstats
path: root/abs/core
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-25 19:55:31 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-25 19:55:31 (GMT)
commitb1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e (patch)
tree96a1bc9275519a36a4b010951d29a560c3fc0a49 /abs/core
parent98601eca343f83da9a4a7470a66b18ac97a15ef0 (diff)
downloadlinhes_pkgbuild-b1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e.zip
linhes_pkgbuild-b1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e.tar.gz
linhes_pkgbuild-b1c7d4308b8df7f24225f6ce2e6b2a70dfd8bc4e.tar.bz2
LinHES-system: gen_is/lib_xml change exit code when conf files are not present to 0. This prevents a pacman install from saying something about errors
Diffstat (limited to 'abs/core')
-rwxr-xr-xabs/core/LinHES-system/PKGBUILD4
-rwxr-xr-xabs/core/LinHES-system/gen_is_xml.py4
-rw-r--r--abs/core/LinHES-system/gen_lib_xml.py4
3 files changed, 6 insertions, 6 deletions
diff --git a/abs/core/LinHES-system/PKGBUILD b/abs/core/LinHES-system/PKGBUILD
index ebb8b88..89c4ed7 100755
--- a/abs/core/LinHES-system/PKGBUILD
+++ b/abs/core/LinHES-system/PKGBUILD
@@ -85,8 +85,8 @@ md5sums=('4921a6e21c71b263b8d23c51c24b939c'
'717b80d5069188ccef52001de0df0c21'
'a182af47a7d373b2a63a27e1bb7485b2'
'5148fe4c6ac27fff8152c819c4d2b47a'
- 'fd21c1b19331581d603d5949c90d5c61'
- 'f7992ea7de2175bebb498739fe87e9c7'
+ 'ea315f41dcd6c978e546c95fc05546cf'
+ '46c32366c8a0bd7a3c1c9ee261a5e120'
'eb879fee9603a05d5420d4ce8ed9e450'
'f1870a9522c79e6b248fcbf81dec3280'
'84492954db16740f949d795b74383189'
diff --git a/abs/core/LinHES-system/gen_is_xml.py b/abs/core/LinHES-system/gen_is_xml.py
index c5b988f..c7525a1 100755
--- a/abs/core/LinHES-system/gen_is_xml.py
+++ b/abs/core/LinHES-system/gen_is_xml.py
@@ -14,7 +14,7 @@ def read_snippets(dir_name):
except:
print " gen_is_xml: Couldn't change dir to %s" %dir_name
print " Exiting"
- sys.exit(2)
+ sys.exit(0)
file_list=glob.glob("*.conf")
for conf_file in file_list:
try:
@@ -25,7 +25,7 @@ def read_snippets(dir_name):
except:
print " gen_is_xml: Couldn't open %s for reading" %conf_file
print " Exiting"
- sys.exit(2)
+ sys.exit(1)
for line in lines:
xml_snippets+=line
if len(file_list) == 0:
diff --git a/abs/core/LinHES-system/gen_lib_xml.py b/abs/core/LinHES-system/gen_lib_xml.py
index 503d39c..3e9019b 100644
--- a/abs/core/LinHES-system/gen_lib_xml.py
+++ b/abs/core/LinHES-system/gen_lib_xml.py
@@ -29,7 +29,7 @@ class Gen_lib_xml:
except:
print " gen_lib_xml: Couldn't change dir to %s" %self.snippit_dir
print " Exiting"
- sys.exit(2)
+ sys.exit(0)
file_list=glob.glob("*.conf")
for conf_file in file_list:
try:
@@ -40,7 +40,7 @@ class Gen_lib_xml:
except:
print " gen_lib_xml: Couldn't open %s for reading" %conf_file
print " Exiting"
- sys.exit(2)
+ sys.exit(0)
if len(file_list) == 0:
print " gen_lib_xml: no conf files found"