From aa91e2b13aaf6c88ec2a539ae80fe39c30ce1d6d Mon Sep 17 00:00:00 2001 From: Alarig Le Lay Date: Thu, 22 Aug 2024 01:57:23 +0200 Subject: [PATCH] www-apps/netbox: fix sheband manage.py Signed-off-by: Alarig Le Lay --- www-apps/netbox/netbox-3.2.9.ebuild | 5 +++++ www-apps/netbox/netbox-3.3.9.ebuild | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/www-apps/netbox/netbox-3.2.9.ebuild b/www-apps/netbox/netbox-3.2.9.ebuild index c687b0a..02f751a 100644 --- a/www-apps/netbox/netbox-3.2.9.ebuild +++ b/www-apps/netbox/netbox-3.2.9.ebuild @@ -100,6 +100,11 @@ Finally, if you are using webhooks, start the netbox-rqworker service. [2] https://netbox.readthedocs.io/en/stable/installation/upgrading/ " +src_prepare() { + default + python_fix_shebang netbox/manage.py +} + src_install() { dodir /opt cp -a ../${P} "${ED}"/opt diff --git a/www-apps/netbox/netbox-3.3.9.ebuild b/www-apps/netbox/netbox-3.3.9.ebuild index 81f6e74..a08f6c5 100644 --- a/www-apps/netbox/netbox-3.3.9.ebuild +++ b/www-apps/netbox/netbox-3.3.9.ebuild @@ -98,6 +98,11 @@ Finally, if you are using webhooks, start the netbox-rqworker service. [2] https://netbox.readthedocs.io/en/stable/installation/upgrading/ " +src_prepare() { + default + python_fix_shebang netbox/manage.py +} + src_install() { dodir /opt cp -a ../${P} "${ED}"/opt