aboutsummaryrefslogtreecommitdiff
path: root/development/npm2tgz/npm2tgz.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'development/npm2tgz/npm2tgz.SlackBuild')
-rw-r--r--development/npm2tgz/npm2tgz.SlackBuild7
1 files changed, 2 insertions, 5 deletions
diff --git a/development/npm2tgz/npm2tgz.SlackBuild b/development/npm2tgz/npm2tgz.SlackBuild
index 5b7774dd08d5..cff1403d5a1a 100644
--- a/development/npm2tgz/npm2tgz.SlackBuild
+++ b/development/npm2tgz/npm2tgz.SlackBuild
@@ -7,16 +7,13 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=npm2tgz
-VERSION=${VERSION:-1.3.5}
+VERSION=${VERSION:-1.3.6}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
ARCH=noarch
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -34,7 +31,7 @@ cd $TMP
rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
-chown -R root.root .
+chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \