games/mininim: Minor script edit.

Signed-off-by: B. Watson <yalhcru@gmail.com>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
B. Watson 2020-11-05 02:15:31 -05:00 committed by Willy Sudiarto Raharjo
parent 52cdbdbdfe
commit febab13ee7
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -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.