summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Levitsky <kitsunenokenja@protonmail.ch>2018-06-24 11:36:34 -0400
committerPatrice Clement <monsieurp@gentoo.org>2018-07-10 00:01:52 +0200
commit64b6661c84d92504c3d4032410f9bc49de416aca (patch)
treeb1be46f84df5256a02271bc15e342c579c952acc
parentapp-crypt/gnupg: mark s390 stable (diff)
downloadgentoo-64b6661c84d92504c3d4032410f9bc49de416aca.tar.gz
gentoo-64b6661c84d92504c3d4032410f9bc49de416aca.tar.bz2
gentoo-64b6661c84d92504c3d4032410f9bc49de416aca.zip
games-roguelike/FTL-gog: fix shell script perms.
Fixed the permissions on one of the shell scripts called by the start script and stripped useless chmod calls from that start script. Package-Manager: Portage-2.3.40, Repoman-2.3.9 Closes: https://github.com/gentoo/gentoo/pull/9089
-rw-r--r--games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild (renamed from games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild)4
1 files changed, 3 insertions, 1 deletions
diff --git a/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild b/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild
index 513747171d91..c606b4d683d1 100644
--- a/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild
+++ b/games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild
@@ -42,12 +42,14 @@ src_prepare() {
if ! use amd64; then
rm game/data/FTL.amd64 || die
fi
+
+ sed -i start.sh -e '/chmod/d'
}
src_install() {
insinto /opt/gog/FTL
doins -r .
- fperms +x /opt/gog/FTL/{start.sh,game/FTL}
+ fperms +x /opt/gog/FTL/{start.sh,game/FTL,game/data/FTL}
if use x86; then
fperms +x /opt/gog/FTL/game/data/FTL.x86