aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/bareos/bareos.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/bareos/bareos.SlackBuild b/system/bareos/bareos.SlackBuild
index 5e32ae968d7f4..40662da7d9880 100644
--- a/system/bareos/bareos.SlackBuild
+++ b/system/bareos/bareos.SlackBuild
@@ -110,7 +110,7 @@ cat << EOF
EOF
- exit
+ exit 1
elif ! grep ^bareos: /etc/group 2>&1 > /dev/null; then
cat << EOF
@@ -121,14 +121,14 @@ cat << EOF
EOF
- exit
+ exit 1
fi
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-Release-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-Release-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $PRGNAM-Release-$VERSION
chown -R root:root .
find -L . \