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 <steffen@schaumburger.info>
This commit is contained in:
parent
b2f74c62a5
commit
04a9309f33
|
@ -49,7 +49,7 @@ src_install() {
|
||||||
make_desktop_entry ${PN}
|
make_desktop_entry ${PN}
|
||||||
|
|
||||||
prepgamesdirs
|
prepgamesdirs
|
||||||
fperms +x "${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|
|
@ -49,7 +49,7 @@ src_install() {
|
||||||
make_desktop_entry ${PN}
|
make_desktop_entry ${PN}
|
||||||
|
|
||||||
prepgamesdirs
|
prepgamesdirs
|
||||||
fperms +x "${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user