diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-18 21:01:31 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-01-18 21:01:31 +0700 |
commit | db65f40cac4aea0d761bcbeec835d82c2b722839 (patch) | |
tree | 1110b39d1dff73b80788b7531d1b62d0445f0200 /games/etlegacy-data/etlegacy-data.SlackBuild | |
parent | 9c8cc6d9c60036a4ccdd3dafde8fd2ac0c7467a5 (diff) |
Multiple: Remove comments and whitespaces.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/etlegacy-data/etlegacy-data.SlackBuild')
-rw-r--r-- | games/etlegacy-data/etlegacy-data.SlackBuild | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/games/etlegacy-data/etlegacy-data.SlackBuild b/games/etlegacy-data/etlegacy-data.SlackBuild index 5d7a890d0a1a5..063a479cb545f 100644 --- a/games/etlegacy-data/etlegacy-data.SlackBuild +++ b/games/etlegacy-data/etlegacy-data.SlackBuild @@ -33,7 +33,7 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -set -e # Exit on most errors +set -e rm -rf $PKG mkdir -p $PKG/usr/share/etlegacy $OUTPUT @@ -43,11 +43,11 @@ sh $CWD/et-linux-2.60.x86.run --tar xvf etmain/mp_bin.pk3 etmain/pak0.pk3 \ etmain/pak1.pk3 etmain/pak2.pk3 etmain/video/etintro.roq chown -R root:root . -find . \ - \( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; +find -L . \ + \( -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 {} \; mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/LICENSE > $PKG/usr/doc/$PRGNAM-$VERSION/LICENSE |