games/warsow: Update permission.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
goarilla 2014-09-28 15:48:02 +07:00 committed by Willy Sudiarto Raharjo
parent f9e2103aa5
commit 0e83480f1f

View file

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