summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Spencer <idlemoor@slackbuilds.org>2016-01-24 21:22:56 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-26 18:58:51 +0700
commit4ddc9e41605e3b8509b7cf95491ee808f1d9dbeb (patch)
treeadf779eaafcae402264332887033c4f8169522db
parent7766e8feb91f179bf7532dac156d569a44425426 (diff)
downloadslackbuilds-4ddc9e41605e3b8509b7cf95491ee808f1d9dbeb.tar.gz
network/graphite-carbon: Support alternate tarball name.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/graphite-carbon/graphite-carbon.SlackBuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/graphite-carbon/graphite-carbon.SlackBuild b/network/graphite-carbon/graphite-carbon.SlackBuild
index 0dd10e14eb..e1a1d32a0e 100644
--- a/network/graphite-carbon/graphite-carbon.SlackBuild
+++ b/network/graphite-carbon/graphite-carbon.SlackBuild
@@ -78,7 +78,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$SRCVER
-tar xvf $CWD/$SRCVER.tar.gz
+tar xvf $CWD/$SRCVER.tar.gz || tar xvf $CWD/$SRCNAM-$SRCVER.tar.gz
cd $SRCNAM-$SRCVER
chown -R root:root .
find -L . \