mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 21:13:27 -04:00
sys-apps/plocate: add post install updatedb notice
Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Arsen Arsenović <arsen@aarsen.me>
This commit is contained in:
@@ -42,3 +42,11 @@ src_install() {
|
|||||||
newexe "${FILESDIR}"/updatedb.cron plocate
|
newexe "${FILESDIR}"/updatedb.cron plocate
|
||||||
systemd_dounit "${FILESDIR}"/updatedb.{service,timer}
|
systemd_dounit "${FILESDIR}"/updatedb.{service,timer}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
if [[ -z "${REPLACING_VERSIONS}" ]]; then
|
||||||
|
# The same notice as mlocate, minus the configuration file
|
||||||
|
elog "The database for the plocate command is generated daily by a cron job,"
|
||||||
|
elog "if you install for the first time you can run the updatedb command manually now."
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user