From cd54d567c2e08707a26dca0b15a9f8101903cd23 Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 9 Jan 2016 21:12:48 +0000 Subject: desktop/clearlooks-phenix-theme: Support alternate tarball name. Signed-off-by: David Spencer --- .../clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'desktop') diff --git a/desktop/clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild b/desktop/clearlooks-phenix-theme/clearlooks-phenix-theme.SlackBuild index ded44b776cc3..d03bacf49b6b 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 \ -- cgit v1.2.3