diff options
Diffstat (limited to 'games/domination/domination.SlackBuild')
-rw-r--r-- | games/domination/domination.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/games/domination/domination.SlackBuild b/games/domination/domination.SlackBuild index d161d8e67138c..fd79e5d14ce1c 100644 --- a/games/domination/domination.SlackBuild +++ b/games/domination/domination.SlackBuild @@ -9,10 +9,11 @@ # See README_SBo.txt for more info on this script (I wrote too many # comments, moved them to a separate file). +# 20191202 bkw: updated for v1.2.0. # 20161030 bkw: whoops, this should have been noarch to begin with. PRGNAM=domination -VERSION=${VERSION:-1.1.1.7} +VERSION=${VERSION:-1.2.0} BUILD=${BUILD:-2} TAG=${TAG:-_SBo} ARCH=noarch @@ -33,11 +34,8 @@ rm -rf $SRCNAM unzip $CWD/${SRCNAM}_$VERSION.zip cd $SRCNAM 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 {} \+ # We don't need Windows exes or OSX app bundles. Or the source. Or # in fact upstream's wrapper scripts (we include our own). |