summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-06-16 08:11:27 +0300
committerJoonas Niilola <juippis@gentoo.org>2021-06-16 08:30:29 +0300
commit377da64f3ebd340dfb925a7a80dafa62984ea2dd (patch)
treebdd0bb452c9e203bc831b616990912d2f76a2904 /app-text
parentapp-dicts/dictd-wn: drop old (diff)
downloadgentoo-377da64f3ebd340dfb925a7a80dafa62984ea2dd.tar.gz
gentoo-377da64f3ebd340dfb925a7a80dafa62984ea2dd.tar.bz2
gentoo-377da64f3ebd340dfb925a7a80dafa62984ea2dd.zip
app-text/dictd: slap a warning for systemd users
Signed-off-by: Joonas Niilola <juippis@gentoo.org> Closes: https://github.com/gentoo/gentoo/pull/21262
Diffstat (limited to 'app-text')
-rw-r--r--app-text/dictd/dictd-1.13.0-r3.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-text/dictd/dictd-1.13.0-r3.ebuild b/app-text/dictd/dictd-1.13.0-r3.ebuild
index fc78189e59d0..342d7ec8462a 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
+}