aboutsummaryrefslogtreecommitdiff
path: root/games/crispy-doom/crispy-doom.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/crispy-doom/crispy-doom.SlackBuild')
-rw-r--r--games/crispy-doom/crispy-doom.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/games/crispy-doom/crispy-doom.SlackBuild b/games/crispy-doom/crispy-doom.SlackBuild
index 680fe26c913f3..e8278bba762b9 100644
--- a/games/crispy-doom/crispy-doom.SlackBuild
+++ b/games/crispy-doom/crispy-doom.SlackBuild
@@ -59,8 +59,8 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-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 . \