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 /x11-fm/gentoo | |
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 'x11-fm/gentoo')
-rw-r--r-- | x11-fm/gentoo/pkg-plist | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-fm/gentoo/pkg-plist b/x11-fm/gentoo/pkg-plist index d1c6f13a8f34..4ee840f97fad 100644 --- a/x11-fm/gentoo/pkg-plist +++ b/x11-fm/gentoo/pkg-plist @@ -229,3 +229,15 @@ etc/gentoorc %%PORTDOCS%%@dirrm %%DOCSDIR%%/images %%PORTDOCS%%@dirrm %%DOCSDIR%%/config %%PORTDOCS%%@dirrm %%DOCSDIR%% +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.cp1251/LC_MESSAGES 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.cp1251 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.CP1251/LC_MESSAGES 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.CP1251 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.KOI8-R/LC_MESSAGES 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.KOI8-R 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.koi8r/LC_MESSAGES 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.koi8r 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.UTF-8/LC_MESSAGES 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.UTF-8 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.utf8/LC_MESSAGES 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU.utf8 2> /dev/null || true
\ No newline at end of file |