mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
net-analyzer/gvmd: only show update instructions on update
Signed-off-by: Florian Schmaus <flow@gentoo.org>
This commit is contained in:
parent
0f903b7947
commit
ab0c86057b
@ -129,10 +129,12 @@ src_install() {
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "If you are upgrading from a previous version, you need to update the database version."
|
||||
elog "Please, create the running directory and give write permission to the database user"
|
||||
elog "then run gvmd as the gvm user with --migrate option:"
|
||||
elog "~# mkdir /run/gvmd"
|
||||
elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
|
||||
elog "~# sudo -u gvm gvmd --migrate"
|
||||
if [[ ${REPLACING_VERSIONS} ]]; then
|
||||
elog "If you are upgrading from a previous version, you need to update the database version."
|
||||
elog "Please, create the running directory and give write permission to the database user"
|
||||
elog "then run gvmd as the gvm user with --migrate option:"
|
||||
elog "~# mkdir /run/gvmd"
|
||||
elog "~# setfacl -m u:gvm:rwx /run/gvmd/"
|
||||
elog "~# sudo -u gvm gvmd --migrate"
|
||||
fi
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user