system/bareos-client: Fixed tarball handling.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-08-07 11:56:14 +01:00 committed by Willy Sudiarto Raharjo
parent 6baec51f35
commit f9989fa17a
No known key found for this signature in database
GPG key ID: 887B8374D7333381

View file

@ -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 . \