From 04a9309f33017b4620843476cfbf8055c6d4b057 Mon Sep 17 00:00:00 2001 From: Erki Ferenc Date: Wed, 11 Aug 2010 15:08:13 +0200 Subject: [PATCH] Fixed an ebuild bug related to .pyw file permissions If fpdb is installed using an ebuild for the very first time then fperms mysteriously fails marking the *.pyw files as executables. During a second install from the ebuild fperms was working which is more mysterious. I have found notices about this behaviour of fperms but couldn't find a proper solution. However simply replacing fperms with chmod just does the work done. Signed-off-by: steffen123 --- packaging/gentoo/current_stable.ebuild | 2 +- packaging/gentoo/current_testing.ebuild | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/gentoo/current_stable.ebuild b/packaging/gentoo/current_stable.ebuild index 7a27feb0..7986c092 100644 --- a/packaging/gentoo/current_stable.ebuild +++ b/packaging/gentoo/current_stable.ebuild @@ -49,7 +49,7 @@ src_install() { make_desktop_entry ${PN} prepgamesdirs - fperms +x "${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw + chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw } pkg_postinst() { diff --git a/packaging/gentoo/current_testing.ebuild b/packaging/gentoo/current_testing.ebuild index 05483b62..b5583fa7 100644 --- a/packaging/gentoo/current_testing.ebuild +++ b/packaging/gentoo/current_testing.ebuild @@ -49,7 +49,7 @@ src_install() { make_desktop_entry ${PN} prepgamesdirs - fperms +x "${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw + chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw } pkg_postinst() {