summaryrefslogtreecommitdiffstats
path: root/system/scanmem/scanmem.SlackBuild
diff options
context:
space:
mode:
author David Spencer <idlemoor@slackbuilds.org>2016-01-19 23:38:21 +0000
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commit57e8f4946243ceddb339521e08e208464cfc6726 (patch)
tree8f374145f4f2f91d14a998cfeafbabba41d097ba /system/scanmem/scanmem.SlackBuild
parent8d48b4421183a399a80032e97072d0a32dc92f8e (diff)
downloadslackbuilds-57e8f4946243ceddb339521e08e208464cfc6726.tar.gz
slackbuilds-57e8f4946243ceddb339521e08e208464cfc6726.tar.xz
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/scanmem/scanmem.SlackBuild')
-rw-r--r--system/scanmem/scanmem.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/scanmem/scanmem.SlackBuild b/system/scanmem/scanmem.SlackBuild
index 941c6f9856..16a7003b99 100644
--- a/system/scanmem/scanmem.SlackBuild
+++ b/system/scanmem/scanmem.SlackBuild
@@ -60,7 +60,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-unzip $CWD/v$VERSION.zip
+unzip $CWD/$PRGNAM-$VERSION.zip || unzip $CWD/v$VERSION.zip
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \