desktop/clearlooks-phenix-theme: Support alternate tarball name.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-09 21:12:48 +00:00 committed by Robby Workman
parent 42e89a37a3
commit cd54d567c2
1 changed files with 4 additions and 4 deletions

View File

@ -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 \