ham/svxlink: Support alternate tarball name.

Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
This commit is contained in:
David Spencer 2016-01-12 22:54:03 +00:00 committed by Robby Workman
parent bf2d92806c
commit d059665a8e

View file

@ -93,7 +93,7 @@ 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
# the Github download unpacks several directories, we only need src
# We will download a larger file but I think it's better this way