aboutsummaryrefslogtreecommitdiff
path: root/games/warsow
diff options
context:
space:
mode:
authorgoarilla <goarilla@gmail.com>2014-09-28 15:48:02 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2014-09-28 15:48:02 +0700
commit0e83480f1f9a9bc186348c6126b8b970240c1247 (patch)
treecaf5b3cc85f02936b55c45a4e6d10e011f4cb282 /games/warsow
parentf9e2103aa5705b4f2682e582bc9495720a525544 (diff)
games/warsow: Update permission.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/warsow')
-rw-r--r--games/warsow/warsow.SlackBuild9
1 files changed, 8 insertions, 1 deletions
diff --git a/games/warsow/warsow.SlackBuild b/games/warsow/warsow.SlackBuild
index 49662dc33520f..57346a10f4888 100644
--- a/games/warsow/warsow.SlackBuild
+++ b/games/warsow/warsow.SlackBuild
@@ -67,7 +67,7 @@ find -L . -type f -iname '*.exe' -exec rm -vf -- '{}' \;
chown -R root:root .
# goarilla: plus 700
find -L . \
- \( -perm 777 -o -perm 700 -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
+ \( -perm 700 -o -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 {} \;
@@ -90,6 +90,13 @@ cp -a wswtv_server.* "$PKG"/usr/share/warsow/
# copy libs
cp -ra libs "$PKG"/usr/share/warsow/
+# (2014/09/28)
+# fix libs' permissions in case SBo overrides the find
+# call to fix the permissions above
+#
+# Thanks to Andrew Conway for letting me know
+chmod 755 "$PKG"/usr/share/warsow/libs/
+#
# copy data
cp -ra basewsw/* $PKG/usr/share/warsow/basewsw/