Fix permissions on *.pyw files
Previously the chmod setting *.pyw files executable was after prepgamesdirs, making the files world executable. It has been moved before it to allow prepgamesdirs to do its job.
This commit is contained in:
parent
d7f73bf691
commit
1116b600ff
|
@ -48,8 +48,8 @@ src_install() {
|
||||||
newicon gfx/fpdb-icon.png ${PN}.png
|
newicon gfx/fpdb-icon.png ${PN}.png
|
||||||
make_desktop_entry ${PN}
|
make_desktop_entry ${PN}
|
||||||
|
|
||||||
|
chmod +x "${D}/${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
||||||
prepgamesdirs
|
prepgamesdirs
|
||||||
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|
|
@ -48,8 +48,8 @@ src_install() {
|
||||||
newicon gfx/fpdb-icon.png ${PN}.png
|
newicon gfx/fpdb-icon.png ${PN}.png
|
||||||
make_desktop_entry ${PN}
|
make_desktop_entry ${PN}
|
||||||
|
|
||||||
|
chmod +x "${D}/${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
||||||
prepgamesdirs
|
prepgamesdirs
|
||||||
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|
|
@ -53,8 +53,8 @@ src_install() {
|
||||||
newicon gfx/fpdb-icon.png ${PN}.png
|
newicon gfx/fpdb-icon.png ${PN}.png
|
||||||
make_desktop_entry ${PN}
|
make_desktop_entry ${PN}
|
||||||
|
|
||||||
|
chmod +x "${D}/${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
||||||
prepgamesdirs
|
prepgamesdirs
|
||||||
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pkg_postinst() {
|
pkg_postinst() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user