summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/libpwquality/libpwquality.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libpwquality/libpwquality.SlackBuild b/libraries/libpwquality/libpwquality.SlackBuild
index 13eabf0300..a0dd1e31bc 100644
--- a/libraries/libpwquality/libpwquality.SlackBuild
+++ b/libraries/libpwquality/libpwquality.SlackBuild
@@ -58,9 +58,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
-rm -rf $TMP/$PRGNAM-$VERSION
cd $TMP
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+rm -rf $PRGNAM-$PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$PRGNAM-$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$PRGNAM-$VERSION
chown -R root:root .
find -L . \