diff options
-rw-r--r-- | audio/ntk/ntk.SlackBuild | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/audio/ntk/ntk.SlackBuild b/audio/ntk/ntk.SlackBuild index f1fb0349cee6..ebaaeb56c508 100644 --- a/audio/ntk/ntk.SlackBuild +++ b/audio/ntk/ntk.SlackBuild @@ -56,7 +56,11 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM -tar xvf $CWD/v"${VERSION}".tar.gz +TARBALL=$CWD/v"${VERSION}".tar.gz +if [ ! -e "$TARBALL" ] ; then + TARBALL=$CWD/$PRGNAM-v"${VERSION}".tar.gz +fi +tar xvf "$TARBALL" cd $PRGNAM chown -R root:root . |