aboutsummaryrefslogtreecommitdiff
path: root/accessibility
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 /accessibility
parent34b856ebd94b9f35b8bf0f100f68a616f7aaadc6 (diff)
downloadports-be3e1f7794486310bb005c6132d838a4e6421451.tar.gz
ports-be3e1f7794486310bb005c6132d838a4e6421451.zip
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
Notes
Notes: svn path=/head/; revision=124183
Diffstat (limited to 'accessibility')
-rw-r--r--accessibility/atk/pkg-plist6
1 files changed, 6 insertions, 0 deletions
diff --git a/accessibility/atk/pkg-plist b/accessibility/atk/pkg-plist
index 1a3bf58c5786..5e0de79d6386 100644
--- a/accessibility/atk/pkg-plist
+++ b/accessibility/atk/pkg-plist
@@ -128,6 +128,12 @@ share/locale/wa/LC_MESSAGES/atk10.mo
share/locale/yi/LC_MESSAGES/atk10.mo
share/locale/zh_CN/LC_MESSAGES/atk10.mo
share/locale/zh_TW/LC_MESSAGES/atk10.mo
+@unexec rmdir %D/share/locale/li/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/li 2> /dev/null || true
+@unexec rmdir %D/share/locale/mr/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/mr 2> /dev/null || true
+@unexec rmdir %D/share/locale/tk/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/tk 2> /dev/null || true
@dirrm %%DOCSDIR%%
@dirrm include/atk-1.0/atk
@dirrm include/atk-1.0