commit:     377da64f3ebd340dfb925a7a80dafa62984ea2dd
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 16 05:11:27 2021 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Jun 16 05:30:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377da64f

app-text/dictd: slap a warning for systemd users

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/21262

 app-text/dictd/dictd-1.13.0-r3.ebuild | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/app-text/dictd/dictd-1.13.0-r3.ebuild 
b/app-text/dictd/dictd-1.13.0-r3.ebuild
index fc78189e59d..342d7ec8462 100644
--- a/app-text/dictd/dictd-1.13.0-r3.ebuild
+++ b/app-text/dictd/dictd-1.13.0-r3.ebuild
@@ -113,3 +113,11 @@ src_install() {
 
        readme.gentoo_create_doc
 }
+
+pkg_postinst() {
+       if has_version sys-apps/systemd; then
+               ewarn "The default location for dicts has changed! If you've 
modified your"
+               ewarn "systemd units locally to point into /usr/lib/dict, 
please update it"
+               ewarn "to point at /usr/share/dict now."
+       fi
+}

Reply via email to