aboutsummaryrefslogtreecommitdiff
path: root/desktop/compton-conf/compton-conf.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/compton-conf/compton-conf.SlackBuild')
-rw-r--r--desktop/compton-conf/compton-conf.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/desktop/compton-conf/compton-conf.SlackBuild b/desktop/compton-conf/compton-conf.SlackBuild
index eb99c5c9cffd3..fd8790938f449 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 \