aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/gwenview-kde4
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-16 13:49:27 +0800
committerkris <kris@FreeBSD.org>2004-12-16 13:49:27 +0800
commit7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 (patch)
tree190106e9bf54a571703d713bb45b9e73a9c9d8c7 /graphics/gwenview-kde4
parentbefba174ca2c351e960ed7779aef28e6453785ff (diff)
downloadfreebsd-ports-gnome-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.gz
freebsd-ports-gnome-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.zst
freebsd-ports-gnome-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.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
Diffstat (limited to 'graphics/gwenview-kde4')
-rw-r--r--graphics/gwenview-kde4/pkg-plist10
1 files changed, 10 insertions, 0 deletions
diff --git a/graphics/gwenview-kde4/pkg-plist b/graphics/gwenview-kde4/pkg-plist
index ca52481eb454..f21530fdf9a0 100644
--- a/graphics/gwenview-kde4/pkg-plist
+++ b/graphics/gwenview-kde4/pkg-plist
@@ -89,6 +89,16 @@ share/locale/xh/LC_MESSAGES/gwenview.mo
share/locale/zh_CN/LC_MESSAGES/gwenview.mo
share/locale/zh_TW/LC_MESSAGES/gwenview.mo
share/locale/zu/LC_MESSAGES/gwenview.mo
+@unexec rmdir %D/share/locale/fo/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/fo 2> /dev/null || true
+@unexec rmdir %D/share/locale/nso/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/nso 2> /dev/null || true
+@unexec rmdir %D/share/locale/ven/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/ven 2> /dev/null || true
+@unexec rmdir %D/share/locale/xh/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/xh 2> /dev/null || true
+@unexec rmdir %D/share/locale/zu/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/zu 2> /dev/null || true
@unexec rmdir %D/share/icons/locolor/32x32/apps 2>/dev/null || true
@unexec rmdir %D/share/icons/locolor/32x32 2>/dev/null || true
@unexec rmdir %D/share/icons/locolor/16x16/apps 2>/dev/null || true