summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-09 21:12:48 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-10 21:34:39 -0600
commitcd54d567c2e08707a26dca0b15a9f8101903cd23 (patch)
tree099c4b602f9e98fe2228b9574ff9125f1b11a700 /desktop
parent42e89a37a3f88a86f925119f805766c089d7b687 (diff)
downloadslackbuilds-cd54d567c2e08707a26dca0b15a9f8101903cd23.tar.gz
desktop/clearlooks-phenix-theme: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop')
-rw-r--r--desktop/clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild8
1 files changed, 4 insertions, 4 deletions
diff --git a/desktop/clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild b/desktop/clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild
index ded44b776c..d03bacf49b 100644
--- a/desktop/clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild
+++ b/desktop/clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild
@@ -28,7 +28,7 @@ BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
ARCH=noarch
-SRCNAM=clearlooks-phenix-$VERSION
+SRCNAM=clearlooks-phenix
CWD=$(pwd)
TMP=${TMP:-/tmp/SBo}
@@ -40,9 +40,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM
-tar xvf $CWD/$VERSION.tar.gz
-cd $SRCNAM
+rm -rf $SRCNAM-$VERSION
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+cd $SRCNAM-$VERSION
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \