summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-13 00:27:49 +0000
committerRobby Workman <rworkman@slackbuilds.org>2016-01-12 21:57:56 -0600
commitde46e98b540735c3ae71152242c737194ab2ef94 (patch)
treef31ce1d2bcddb455ca3285cd9606ed79fa551098
parent33f140fb6b2e67951a723294db3a260aba60a511 (diff)
downloadslackbuilds-de46e98b540735c3ae71152242c737194ab2ef94.tar.gz
system/fdupes: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--system/fdupes/fdupes.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/fdupes/fdupes.SlackBuild b/system/fdupes/fdupes.SlackBuild
index 153fbd82e1..c157299c84 100644
--- a/system/fdupes/fdupes.SlackBuild
+++ b/system/fdupes/fdupes.SlackBuild
@@ -68,7 +68,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$PRGNAM-$VERSION
-tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz
+tar -xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar -xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \