From: "Andrew Ammerlaan" <andrewammerlaan@riseup.net>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-apps/plocate/
Date: Thu, 4 Mar 2021 09:32:13 +0000 (UTC) [thread overview]
Message-ID: <1614808496.20581aec69b08bbf817ec552f18b2f8e52a60ebd.andrewammerlaan@gentoo> (raw)
commit: 20581aec69b08bbf817ec552f18b2f8e52a60ebd
Author: Arsen Arsenović <arsen <AT> aarsen <DOT> me>
AuthorDate: Wed Mar 3 21:54:56 2021 +0000
Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net>
CommitDate: Wed Mar 3 21:54:56 2021 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=20581aec
sys-apps/plocate: add post install updatedb notice
Package-Manager: Portage-3.0.13, Repoman-3.0.2
Signed-off-by: Arsen Arsenović <arsen <AT> aarsen.me>
sys-apps/plocate/plocate-1.1.5.ebuild | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/sys-apps/plocate/plocate-1.1.5.ebuild b/sys-apps/plocate/plocate-1.1.5.ebuild
index 3c9b1fa0..60d17495 100644
--- a/sys-apps/plocate/plocate-1.1.5.ebuild
+++ b/sys-apps/plocate/plocate-1.1.5.ebuild
@@ -42,3 +42,11 @@ src_install() {
newexe "${FILESDIR}"/updatedb.cron plocate
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
+}
next reply other threads:[~2021-03-04 9:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-04 9:32 Andrew Ammerlaan [this message]
-- strict thread matches above, loose matches on Subject: below --
2021-03-04 9:32 [gentoo-commits] repo/proj/guru:master commit in: sys-apps/plocate/ Andrew Ammerlaan
2021-03-05 12:10 Andrew Ammerlaan
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1614808496.20581aec69b08bbf817ec552f18b2f8e52a60ebd.andrewammerlaan@gentoo \
--to=andrewammerlaan@riseup.net \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox