summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ham/qradiopredict/qradiopredict.SlackBuild4
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}