commit:     64b6661c84d92504c3d4032410f9bc49de416aca
Author:     Rob Levitsky <kitsunenokenja <AT> protonmail <DOT> ch>
AuthorDate: Sun Jun 24 15:36:34 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Mon Jul  9 22:01:52 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64b6661c

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

 .../{FTL-gog-1.6.7.18662.ebuild => FTL-gog-1.6.7.18662-r1.ebuild}     | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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
similarity index 93%
rename from games-roguelike/FTL-gog/FTL-gog-1.6.7.18662.ebuild
rename to games-roguelike/FTL-gog/FTL-gog-1.6.7.18662-r1.ebuild
index 513747171d9..c606b4d683d 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

Reply via email to