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:
Erki Ferenc 2010-08-12 18:50:21 +02:00
parent d7f73bf691
commit 1116b600ff
3 changed files with 52 additions and 52 deletions

View File

@ -48,8 +48,8 @@ src_install() {
newicon gfx/fpdb-icon.png ${PN}.png
make_desktop_entry ${PN}
chmod +x "${D}/${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
prepgamesdirs
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
}
pkg_postinst() {

View File

@ -48,8 +48,8 @@ src_install() {
newicon gfx/fpdb-icon.png ${PN}.png
make_desktop_entry ${PN}
chmod +x "${D}/${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
prepgamesdirs
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
}
pkg_postinst() {

View File

@ -53,8 +53,8 @@ src_install() {
newicon gfx/fpdb-icon.png ${PN}.png
make_desktop_entry ${PN}
chmod +x "${D}/${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
prepgamesdirs
chmod +x ${D}/"${GAMES_DATADIR}"/${PN}/pyfpdb/*.pyw
}
pkg_postinst() {