summaryrefslogtreecommitdiffstats
path: root/games/ostrichriders/ostrichriders.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'games/ostrichriders/ostrichriders.SlackBuild')
-rw-r--r--games/ostrichriders/ostrichriders.SlackBuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/games/ostrichriders/ostrichriders.SlackBuild b/games/ostrichriders/ostrichriders.SlackBuild
index 288c3c3521..22ae2e2de3 100644
--- a/games/ostrichriders/ostrichriders.SlackBuild
+++ b/games/ostrichriders/ostrichriders.SlackBuild
@@ -6,8 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20191130 bkw: update for v0.6.5, update man page to add new -a option
+
PRGNAM=ostrichriders
-VERSION=${VERSION:-0.6.4}
+VERSION=${VERSION:-0.6.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -47,11 +49,8 @@ rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tgz
cd $PRGNAM-$VERSION
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 \
- \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \
+ \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+
# This stuff looks like it was included in the tarball by mistake.
rm -f data/mods/sandbox/media/Thumbs.db \