summaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
author B. Watson2020-11-05 08:15:31 +0100
committer Willy Sudiarto Raharjo2020-11-07 08:02:36 +0100
commitfebab13ee7542b5f0a1ddf57b11b6f272461ac0a (patch)
tree51db145dbb4999bbbdcca3352f8694215e8ba459 /games
parent52cdbdbdfe9715db75108a20fd18bd5dcb16caab (diff)
downloadslackbuilds-febab13ee7542b5f0a1ddf57b11b6f272461ac0a.tar.gz
games/mininim: Minor script edit.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games')
-rw-r--r--games/mininim/mininim.SlackBuild12
1 files changed, 6 insertions, 6 deletions
diff --git a/games/mininim/mininim.SlackBuild b/games/mininim/mininim.SlackBuild
index 67059dce1d..0a1bc046ab 100644
--- a/games/mininim/mininim.SlackBuild
+++ b/games/mininim/mininim.SlackBuild
@@ -6,6 +6,10 @@
# Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details.
+# 20201105 bkw: Minor nitpickey edits to the script, but no changes
+# to the package. 201701122309 is still the latest release. The newer
+# stuff from this year is "Pre-alpha" and "Pre-release".
+
# 20170317 bkw: If I'd known about mininim before discovering sdlpop,
# probably I would have submitted a build for mininim and never touched
# sdlpop. As it stands, we have both (choice is good). mininim is a lot
@@ -53,12 +57,8 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
-# using \+ instead of \; for this find makes it run 10x as fast!
-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 {} \+
# Slack 14.2's makeinfo chokes on this, I dunno what version upstream
# uses.