vuls: add warning message in pkg_postinst()

This commit is contained in:
Yury Martynov 2019-09-11 13:49:59 +03:00
parent 5f1685bb88
commit c2561f8864
No known key found for this signature in database
GPG key ID: EBE62DD0CCEAE19E
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,4 @@
<email>email@linxon.ru</email>
<name>Yury Martynov</name>
</maintainer>
<use>
<flag name="webui">Install WebGUI <pkg>www-apps/vulsrepo</pkg></flag>
</use>
</pkgmetadata>

View file

@ -396,4 +396,7 @@ pkg_postinst() {
ewarn "3) Create a config.toml file in /var/lib/${PN}/:"
ewarn " ~$ bzip2 -dc /usr/share/doc/vuls-${PV}/config.toml.sample.bz2 > /var/lib/${PN}/config.toml\n"
fi
ewarn "\nWARNING!"
ewarn "You need to rm /var/lib/${PN}/cve.sqlite3 and re-fetch NVD (and JVN) database\n"
}