summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2016-07-01 10:54:09 +0100
committerDavid Spencer <baildon.research@googlemail.com>2016-07-01 10:54:09 +0100
commit8a85fa7328c86036353c068b1730ae935c574a6d (patch)
tree3b51ae0d4ece3941aed185bb6b4c4925a3cf56ae
parent4c7a652c6b3b87d45d3ad7736b6736c30d0e74b0 (diff)
downloadslackbuilds-8a85fa7328c86036353c068b1730ae935c574a6d.tar.gz
games/freeminer: Fix unzip.
Signed-off-by: David Spencer <baildon.research@googlemail.com>
-rw-r--r--games/freeminer/freeminer.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/games/freeminer/freeminer.SlackBuild b/games/freeminer/freeminer.SlackBuild
index 960522c202..47781d9f3e 100644
--- a/games/freeminer/freeminer.SlackBuild
+++ b/games/freeminer/freeminer.SlackBuild
@@ -63,7 +63,7 @@ mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$SRCVER
#tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
-unzip $CWD/$SRCVER.zip
+unzip $CWD/$PRGNAM-$SRCVER.zip || unzip $CWD/$SRCVER.zip
cd $PRGNAM-$SRCVER
chown -R root:root .
find -L . \