summaryrefslogtreecommitdiff
path: root/network/node/node.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'network/node/node.SlackBuild')
-rw-r--r--network/node/node.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/node/node.SlackBuild b/network/node/node.SlackBuild
index 534f90635e..8b8c4bcb4c 100644
--- a/network/node/node.SlackBuild
+++ b/network/node/node.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=node
-VERSION=${VERSION:-0.10.15}
+VERSION=${VERSION:-0.10.22}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -63,7 +63,11 @@ rm -rf $PRGNAM-v$VERSION
tar xvf $CWD/$PRGNAM-v$VERSION.tar.gz
cd $PRGNAM-v$VERSION
chown -R root:root .
-chmod -R u+w,go+r-w,a-s .
+find -L . \
+ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ -o -perm 511 \) -exec chmod 755 {} \; -o \
+ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Fix man page path.
sed -i 's|share/||' tools/install.py