aboutsummaryrefslogtreecommitdiff
path: root/system/reptyr/reptyr.SlackBuild
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-19 23:38:21 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-20 23:59:30 +0700
commit57e8f4946243ceddb339521e08e208464cfc6726 (patch)
tree8f374145f4f2f91d14a998cfeafbabba41d097ba /system/reptyr/reptyr.SlackBuild
parent8d48b4421183a399a80032e97072d0a32dc92f8e (diff)
Multiple: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/reptyr/reptyr.SlackBuild')
-rw-r--r--system/reptyr/reptyr.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/system/reptyr/reptyr.SlackBuild b/system/reptyr/reptyr.SlackBuild
index f42da43ba29e..64e746f73d56 100644
--- a/system/reptyr/reptyr.SlackBuild
+++ b/system/reptyr/reptyr.SlackBuild
@@ -41,9 +41,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$PRGNAM-$VERSION # weird
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \