summaryrefslogtreecommitdiffstats
path: root/development/nodejs/nodejs.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/nodejs/nodejs.SlackBuild')
-rw-r--r--development/nodejs/nodejs.SlackBuild6
1 files changed, 3 insertions, 3 deletions
diff --git a/development/nodejs/nodejs.SlackBuild b/development/nodejs/nodejs.SlackBuild
index 5e3885519a..683f0dfdee 100644
--- a/development/nodejs/nodejs.SlackBuild
+++ b/development/nodejs/nodejs.SlackBuild
@@ -63,9 +63,9 @@ set -eu
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
-cd $SRCNAM-$VERSION
+rm -rf $SRCNAM-v$VERSION
+tar xvf $CWD/$SRCNAM-v$VERSION.tar.xz
+cd $SRCNAM-v$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \