summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 49662dc335..57346a10f4 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/