summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
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 \