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 | |
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')
-rw-r--r-- | x11-fm/gentoo/pkg-plist | 12 | ||||
-rw-r--r-- | x11-fm/xfe/pkg-plist | 2 | ||||
-rw-r--r-- | x11-fm/xnc/pkg-plist | 2 |
3 files changed, 16 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 diff --git a/x11-fm/xfe/pkg-plist b/x11-fm/xfe/pkg-plist index b1cd7ab9c9ea..111fdb3cfcca 100644 --- a/x11-fm/xfe/pkg-plist +++ b/x11-fm/xfe/pkg-plist @@ -153,3 +153,5 @@ share/pixmaps/xfe.png @dirrm lib/foxicons @dirrm lib/foxrc @dirrm share/pixmaps +@unexec rmdir %D/share/locale/es_AR/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/es_AR 2> /dev/null || true diff --git a/x11-fm/xnc/pkg-plist b/x11-fm/xnc/pkg-plist index f5b9c614d034..e2ff0ade480e 100644 --- a/x11-fm/xnc/pkg-plist +++ b/x11-fm/xnc/pkg-plist @@ -40,5 +40,7 @@ share/doc/xnc/doc6.html share/doc/xnc/doc7.html share/doc/xnc/doc8.html share/doc/xnc/index.html +@unexec rmdir %D/share/locale/sp/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/sp 2> /dev/null || true @dirrm share/doc/xnc @dirrm lib/xnc |