diff options
author | David Spencer <idlemoor@slackbuilds.org> | 2017-07-09 12:46:29 +0100 |
---|---|---|
committer | David Spencer <idlemoor@slackbuilds.org> | 2017-07-12 16:39:16 +0100 |
commit | 2c41e9fb080b97b6aba3a1609221806321a6e54f (patch) | |
tree | 0bf9c560f3df557355da17b49be06ae1150be31e /libraries | |
parent | f2f5348f342b31eb7c8d6f276424feba82d10c56 (diff) |
libraries/libpwquality: Fixed tarball handling.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries')
-rw-r--r-- | libraries/libpwquality/libpwquality.SlackBuild | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libraries/libpwquality/libpwquality.SlackBuild b/libraries/libpwquality/libpwquality.SlackBuild index 13eabf03008b4..a0dd1e31bc02c 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 . \ |