Skip to content

Commit

Permalink
games-roguelike/FTL-gog: fix shell script perms.
Browse files Browse the repository at this point in the history
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: gentoo#9089
  • Loading branch information
kitsunenokenja authored and monsieurp committed Jul 9, 2018
1 parent ecd160a commit 64b6661
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 64b6661

Please sign in to comment.