www-apps/netbox: fix sheband manage.py

Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2024-08-22 01:57:23 +02:00
parent d80c280055
commit aa91e2b13a
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC
2 changed files with 10 additions and 0 deletions

View file

@ -100,6 +100,11 @@ Finally, if you are using webhooks, start the netbox-rqworker service.
[2] https://netbox.readthedocs.io/en/stable/installation/upgrading/ [2] https://netbox.readthedocs.io/en/stable/installation/upgrading/
" "
src_prepare() {
default
python_fix_shebang netbox/manage.py
}
src_install() { src_install() {
dodir /opt dodir /opt
cp -a ../${P} "${ED}"/opt cp -a ../${P} "${ED}"/opt

View file

@ -98,6 +98,11 @@ Finally, if you are using webhooks, start the netbox-rqworker service.
[2] https://netbox.readthedocs.io/en/stable/installation/upgrading/ [2] https://netbox.readthedocs.io/en/stable/installation/upgrading/
" "
src_prepare() {
default
python_fix_shebang netbox/manage.py
}
src_install() { src_install() {
dodir /opt dodir /opt
cp -a ../${P} "${ED}"/opt cp -a ../${P} "${ED}"/opt