aboutsummaryrefslogtreecommitdiffstats
path: root/net/tsclient
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 /net/tsclient
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 'net/tsclient')
-rw-r--r--net/tsclient/pkg-plist30
1 files changed, 2 insertions, 28 deletions
diff --git a/net/tsclient/pkg-plist b/net/tsclient/pkg-plist
index a6f6a8a49e0f..f5837070e12e 100644
--- a/net/tsclient/pkg-plist
+++ b/net/tsclient/pkg-plist
@@ -41,42 +41,16 @@ share/locale/ru/LC_MESSAGES/tsclient.mo
share/locale/se/LC_MESSAGES/tsclient.mo
share/locale/zh_CN/LC_MESSAGES/tsclient.mo
share/locale/zh_TW/LC_MESSAGES/tsclient.mo
-@unexec rmdir %D/share/locale/zh_TW/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/zh_TW 2>/dev/null || true
-@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/zh_CN 2>/dev/null || true
@unexec rmdir %D/share/locale/se/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/se 2>/dev/null || true
-@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/ru 2>/dev/null || true
-@unexec rmdir %D/share/locale/pt_PT/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/pt_PT 2>/dev/null || true
-@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/pt_BR 2>/dev/null || true
@unexec rmdir %D/share/locale/pl_PL/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/pl_PL 2>/dev/null || true
-@unexec rmdir %D/share/locale/no_bb/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/no_bb 2>/dev/null || true
+@unexec rmdir %D/share/locale/no_nb/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/no_nb 2>/dev/null || true
@unexec rmdir %D/share/locale/nl_NL/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/nl_NL 2>/dev/null || true
-@unexec rmdir %D/share/locale/ms/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/ms 2>/dev/null || true
-@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/it 2>/dev/null || true
-@unexec rmdir %D/share/locale/hu/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/hu 2>/dev/null || true
@unexec rmdir %D/share/locale/gr/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/gr 2>/dev/null || true
-@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/fr 2>/dev/null || true
-@unexec rmdir %D/share/locale/fi/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/fi 2>/dev/null || true
-@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/es 2>/dev/null || true
@unexec rmdir %D/share/locale/da_DK/LC_MESSAGES 2>/dev/null || true
@unexec rmdir %D/share/locale/da_DK 2>/dev/null || true
-@unexec rmdir %D/share/locale/ar/LC_MESSAGES 2>/dev/null || true
-@unexec rmdir %D/share/locale/ar 2>/dev/null || true
-@unexec rmdir %D/share/nls/POSIX 2>/dev/null || true
-@unexec rmdir %D/share/nls/en_US.US-ASCII 2>/dev/null || true
@dirrm share/gnome/pixmaps/tsclient