diff options
author | kris <kris@FreeBSD.org> | 2004-12-16 13:49:27 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-12-16 13:49:27 +0800 |
commit | 7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 (patch) | |
tree | 190106e9bf54a571703d713bb45b9e73a9c9d8c7 /japanese/texinfo | |
parent | befba174ca2c351e960ed7779aef28e6453785ff (diff) | |
download | freebsd-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 'japanese/texinfo')
-rw-r--r-- | japanese/texinfo/pkg-plist | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/japanese/texinfo/pkg-plist b/japanese/texinfo/pkg-plist index d0518cbaccc7..5cf5e83aab2b 100644 --- a/japanese/texinfo/pkg-plist +++ b/japanese/texinfo/pkg-plist @@ -53,9 +53,20 @@ share/locale/sv/LC_MESSAGES/texinfo.mo share/locale/tr/LC_MESSAGES/texinfo.mo share/locale/zh_CN/LC_MESSAGES/texinfo.mo share/locale/zh_TW/LC_MESSAGES/texinfo.mo -@unexec rmdir %D/share/locale/*/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/* 2>/dev/null || true -@unexec rmdir %D/share/locale 2>/dev/null || true +@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/cs 2>/dev/null || true +@unexec rmdir %D/share/locale/de_AT/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/de_AT 2>/dev/null || true +@unexec rmdir %D/share/locale/no/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/no 2>/dev/null || true +@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/pl 2>/dev/null || true +@unexec rmdir %D/share/locale/ro/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/ro 2>/dev/null || true +@unexec rmdir %D/share/locale/no/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/no 2>/dev/null || true +@unexec rmdir %D/share/locale/zh_CN/LC_MESSAGES 2>/dev/null || true +@unexec rmdir %D/share/locale/zh_TW 2>/dev/null || true @unexec rmdir %D/%%TEXMFLOCAL%%/tex/generic/dvips 2>/dev/null || true @unexec rmdir %D/%%TEXMFLOCAL%%/pdftex/plain/misc 2>/dev/null || true @unexec rmdir %D/%%TEXMFLOCAL%%/pdftex/plain 2>/dev/null || true |