summaryrefslogtreecommitdiff
path: root/games/nevernoid/nevernoid.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/nevernoid/nevernoid.SlackBuild')
-rw-r--r--games/nevernoid/nevernoid.SlackBuild7
1 files changed, 5 insertions, 2 deletions
diff --git a/games/nevernoid/nevernoid.SlackBuild b/games/nevernoid/nevernoid.SlackBuild
index 43cbca389a..31e846f566 100644
--- a/games/nevernoid/nevernoid.SlackBuild
+++ b/games/nevernoid/nevernoid.SlackBuild
@@ -29,8 +29,11 @@ rm -rf $PRGNAM
tar xvf $CWD/$ARCHIVE
cd $PRGNAM
chown -R root:root .
-chmod -R a-s,u+w,go+r-w .
-find . -type f -print0 | xargs -0 chmod 644
+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 {} \;
mkdir -p $PKG/usr/libexec $PKG/usr/games $PKG/usr/share/$PRGNAM
install -m0755 -o root -g root $PRGNAM $PKG/usr/libexec