mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
games/warsow: Update permission.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
f9e2103aa5
commit
0e83480f1f
1 changed files with 8 additions and 1 deletions
|
@ -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/
|
||||
|
||||
|
|
Loading…
Reference in a new issue