mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
games-board/rmahjong: fix bot install path; fix exec permissions
The bot file is installed wrong path since fix module installation. Without shell-scripts and bot exec permissions app doesn't start. Signed-off-by: Sergey Torokhov <torokhov-s-a@yandex.ru>
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit desktop python-single-r1 xdg
|
||||
|
||||
@@ -62,9 +62,12 @@ src_test() {
|
||||
src_install() {
|
||||
python_moduleinto ${PN}
|
||||
python_domodule {client/,server/,start.sh}
|
||||
fperms 755 $(python_get_sitedir)/${PN}/start.sh
|
||||
fperms 755 $(python_get_sitedir)/${PN}/server/run_server.sh
|
||||
|
||||
python_moduleinto bot
|
||||
python_domodule "bot/bot"
|
||||
python_moduleinto ${PN}/bot
|
||||
python_domodule bot/bot
|
||||
fperms 755 $(python_get_sitedir)/${PN}/bot/bot
|
||||
|
||||
python_optimize "${D}/$(python_get_sitedir)/${PN}/"{client,server}/*.py
|
||||
|
||||
|
||||
Reference in New Issue
Block a user