diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2016-01-12 22:53:46 +0000 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2016-01-12 21:57:56 -0600 |
commit | bf2d92806c8e95601254717d4fa055bce3aca105 (patch) | |
tree | 5edea24db8fd0a5da6934d9f9dac20b3acb6b7c7 | |
parent | 87da139fa5c4a735942b628c3736079674b282cb (diff) | |
download | slackbuilds-bf2d92806c8e95601254717d4fa055bce3aca105.tar.gz |
ham/qradiopredict: Support alternate tarball name, fix PKGTYPE.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r-- | ham/qradiopredict/qradiopredict.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ham/qradiopredict/qradiopredict.SlackBuild b/ham/qradiopredict/qradiopredict.SlackBuild index 42fef6c70f..713a0dcc10 100644 --- a/ham/qradiopredict/qradiopredict.SlackBuild +++ b/ham/qradiopredict/qradiopredict.SlackBuild @@ -57,7 +57,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 . \ @@ -108,4 +108,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG${PKGTYPE:-.tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} |