From 0e83480f1f9a9bc186348c6126b8b970240c1247 Mon Sep 17 00:00:00 2001 From: goarilla Date: Sun, 28 Sep 2014 15:48:02 +0700 Subject: games/warsow: Update permission. Signed-off-by: Willy Sudiarto Raharjo --- games/warsow/warsow.SlackBuild | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'games') 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/ -- cgit v1.2.3