www-apps/netbox: upgrade script fix
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
parent
7f83214fd8
commit
4408c226ef
|
@ -139,5 +139,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
|
||||||
cd /opt/netbox && su -l "${PN}" -s /bin/sh -c ./upgrade.sh
|
cd /opt/netbox && su -p -s /bin/sh -c ./upgrade.sh "${PN}"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue