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
This commit is contained in:
Joonas Niilola
2021-06-16 08:30:29 +03:00
parent 2ba6983ba9
commit 377da64f3e
+8
View File
@@ -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
}