summaryrefslogtreecommitdiff
path: root/system/bareos-client
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-08-07 11:56:14 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-08-07 18:55:39 +0700
commitf9989fa17a8a496a5c33d00c52bcb1fa9b80a579 (patch)
tree55da6885cebe8d7634115221a26d784b03945621 /system/bareos-client
parent6baec51f3508c3dd4ca460e2bdd6fdb0a49c6f99 (diff)
downloadslackbuilds-f9989fa17a8a496a5c33d00c52bcb1fa9b80a579.tar.gz
system/bareos-client: Fixed tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/bareos-client')
-rw-r--r--system/bareos-client/bareos-client.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/bareos-client/bareos-client.SlackBuild b/system/bareos-client/bareos-client.SlackBuild
index 00ff8d83c3..4295bf61d1 100644
--- a/system/bareos-client/bareos-client.SlackBuild
+++ b/system/bareos-client/bareos-client.SlackBuild
@@ -63,7 +63,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \