www-apps/netbox: It’s broken

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr
This commit is contained in:
Alarig Le Lay 2021-09-23 22:46:27 +02:00
parent 4b02e62b2b
commit e969ed5804
Signed by: alarig
GPG key ID: 7AFE62C6DF8BCDEC

View file

@ -11,7 +11,7 @@ SRC_URI="https://github.com/netbox-community/${PN}/archive/v${PV}.tar.gz -> ${P}
LICENSE="Apache-2.0" LICENSE="Apache-2.0"
SLOT="0" SLOT="0"
KEYWORDS="~amd64" #KEYWORDS="~amd64"
IUSE="ldap" IUSE="ldap"
REQUIRED_USE=${PYTHON_REQUIRED_USE} REQUIRED_USE=${PYTHON_REQUIRED_USE}
@ -143,5 +143,5 @@ pkg_postinst() {
if [ -d "${LAST_BASE_DIRECTORY}/netbox/reports" ]; then if [ -d "${LAST_BASE_DIRECTORY}/netbox/reports" ]; then
${NBCP} -pr "${LAST_BASE_DIRECTORY}/netbox/reports" /opt/netbox/netbox/ ${NBCP} -pr "${LAST_BASE_DIRECTORY}/netbox/reports" /opt/netbox/netbox/
fi fi
su -p -s /bin/sh -c ./upgrade.sh "${PN}" su -p -s /bin/sh -c "/opt/${P}/upgrade.sh" "${PN}"
} }