diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-09 21:13:47 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-01-10 21:34:39 -0600 |
commit | 89255c566bf0b8264fe59de257ad84a7fe8c42ba (patch) | |
tree | 059a35952ad8b5c2e5b3cab20066b18de0dfd02c /desktop/compton-conf | |
parent | cd54d567c2e08707a26dca0b15a9f8101903cd23 (diff) |
desktop/compton-conf: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'desktop/compton-conf')
-rw-r--r-- | desktop/compton-conf/compton-conf.SlackBuild | 6 |
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 \ |