summaryrefslogtreecommitdiff
path: root/sysutils/di/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 /sysutils/di/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 'sysutils/di/pkg-plist')
-rw-r--r--sysutils/di/pkg-plist4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/di/pkg-plist b/sysutils/di/pkg-plist
index 83abec797e03..c23bf6ebf0d2 100644
--- a/sysutils/di/pkg-plist
+++ b/sysutils/di/pkg-plist
@@ -2,3 +2,7 @@ bin/di
bin/mi
share/locale/de_DE/LC_MESSAGES/di.mo
share/locale/en_US/LC_MESSAGES/di.mo
+@unexec rmdir %D/share/locale/de_DE/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/de_DE 2> /dev/null || true
+@unexec rmdir %D/share/locale/en_US/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/en_US 2> /dev/null || true