summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-12 23:47:24 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:57:56 -0600
commit4d5eeb9860cb8602f4467a3ca287b401805b2b7f (patch)
treee5ee718d2f92051c406c5bf5770dc83396914a89
parenta3dae8f392b7987e83f0f8b59883201b69e06e4a (diff)
downloadslackbuilds-4d5eeb9860cb8602f4467a3ca287b401805b2b7f.tar.gz
graphics/pdf2png: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--graphics/pdf2png/pdf2png.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/pdf2png/pdf2png.SlackBuild b/graphics/pdf2png/pdf2png.SlackBuild
index 4eb10311bf..47231e3e0a 100644
--- a/graphics/pdf2png/pdf2png.SlackBuild
+++ b/graphics/pdf2png/pdf2png.SlackBuild
@@ -40,7 +40,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \