From 89255c566bf0b8264fe59de257ad84a7fe8c42ba Mon Sep 17 00:00:00 2001 From: David Spencer Date: Sat, 9 Jan 2016 21:13:47 +0000 Subject: desktop/compton-conf: Support alternate tarball name. Signed-off-by: David Spencer --- desktop/compton-conf/compton-conf.SlackBuild | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'desktop') diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild index eb99c5c9cf..fd8790938f 100644 --- a/desktop/compton-conf/compton-conf.SlackBuild +++ b/desktop/compton-conf/compton-conf.SlackBuild @@ -59,9 +59,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-git-v${VERSION}-2013-10-21 -tar xvf $CWD/${VERSION}.tar.gz -cd ${PRGNAM}-${VERSION} +rm -rf $PRGNAM-$VERSION +tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz +cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -- cgit v1.2.3