summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-02-25 08:29:20 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-27 13:22:37 +0700
commitb306dfe7dcb3e997d014913f965872becd07b797 (patch)
tree2930c75d2dc071921986affb1bd8706fe1c77318
parent3e7aa98bad85d2ffbdc0ed5440c69c37926d39fd (diff)
downloadslackbuilds-b306dfe7dcb3e997d014913f965872becd07b797.tar.gz
graphics/scantailor: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--graphics/scantailor/scantailor.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/scantailor/scantailor.SlackBuild b/graphics/scantailor/scantailor.SlackBuild
index e480fa368e..8267be587d 100644
--- a/graphics/scantailor/scantailor.SlackBuild
+++ b/graphics/scantailor/scantailor.SlackBuild
@@ -43,7 +43,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-${SRCNAM}_${VERSION}
-tar xvf $CWD/${SRCNAM}_${VERSION}.tar.gz
+tar xvf $CWD/${SRCNAM}_${VERSION}.tar.gz || tar xvf $CWD/$PRGNAM-${SRCNAM}_${VERSION}.tar.gz
cd $PRGNAM-${SRCNAM}_${VERSION}
chown -R root:root .
find -L . \