summaryrefslogtreecommitdiff
path: root/misc/kcd/pkg-plist
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
commitbe3e1f7794486310bb005c6132d838a4e6421451 (patch)
treea7dfcc67170c590a833d014ae4ba65ea8537deb0 /misc/kcd/pkg-plist
parent- assume all ldap version work (diff)
Clean up handling of locale directories at deinstall-time:
* Don't remove "system directories" (which were created by BSD.*.dist) * Silently try to remove locale directories which we might have created
Diffstat (limited to 'misc/kcd/pkg-plist')
-rw-r--r--misc/kcd/pkg-plist4
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/kcd/pkg-plist b/misc/kcd/pkg-plist
index c92f07ed9238..af488b09f1c8 100644
--- a/misc/kcd/pkg-plist
+++ b/misc/kcd/pkg-plist
@@ -9,3 +9,7 @@ share/locale/en_US.UTF-8/LC_MESSAGES/kcd.mo
%%PORTDOCS%%share/examples/kcd/kcd.sh.init
%%PORTDOCS%%@dirrm share/examples/kcd
%%PORTDOCS%%@dirrm share/doc/kcd
+@unexec rmdir %D/share/locale/en_GB.UTF-8/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/en_GB.UTF-8 2> /dev/null || true
+@unexec rmdir %D/share/locale/en_US.UTF-8/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/en_US.UTF-8 2> /dev/null || true