summaryrefslogtreecommitdiff
path: root/system/jmtpfs
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-18 22:27:42 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-18 23:22:59 +0700
commitfd388fe1e00a126cd7e4a2892bcb948e338b772d (patch)
treec42887379f765a57fbb1e91a750e3e87d94988b6 /system/jmtpfs
parent9e8e7a451100a2a469d07f2b3705ca678e61074c (diff)
downloadslackbuilds-fd388fe1e00a126cd7e4a2892bcb948e338b772d.tar.gz
system/jmtpfs: Add alternate source.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/jmtpfs')
-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 . \