summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/jmtpfs/jmtpfs.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/jmtpfs/jmtpfs.SlackBuild b/system/jmtpfs/jmtpfs.SlackBuild
index 951f38b0d3..545efff32e 100644
--- a/system/jmtpfs/jmtpfs.SlackBuild
+++ b/system/jmtpfs/jmtpfs.SlackBuild
@@ -54,13 +54,13 @@ else
LIBDIRSUFFIX=""
fi
-set -e # Exit on most errors
+set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/v${VERSION}.tar.gz
+tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \