network/graphite-carbon: Support alternate tarball name.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-24 21:22:56 +00:00 committed by Willy Sudiarto Raharjo
parent 7766e8feb9
commit 4ddc9e4160

View file

@ -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 . \