diff options
author | kris <kris@FreeBSD.org> | 2004-12-16 05:49:27 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-12-16 05:49:27 +0000 |
commit | 7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 (patch) | |
tree | 190106e9bf54a571703d713bb45b9e73a9c9d8c7 /deskutils | |
parent | befba174ca2c351e960ed7779aef28e6453785ff (diff) | |
download | FreeBSD-ports-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.zip FreeBSD-ports-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.gz |
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 'deskutils')
-rw-r--r-- | deskutils/gnochm/pkg-plist | 4 | ||||
-rw-r--r-- | deskutils/gnome-pim/pkg-plist | 6 | ||||
-rw-r--r-- | deskutils/gnomepim/pkg-plist | 6 | ||||
-rw-r--r-- | deskutils/logjam/pkg-plist | 6 |
4 files changed, 22 insertions, 0 deletions
diff --git a/deskutils/gnochm/pkg-plist b/deskutils/gnochm/pkg-plist index 5e55be6..1dddae5 100644 --- a/deskutils/gnochm/pkg-plist +++ b/deskutils/gnochm/pkg-plist @@ -25,3 +25,7 @@ share/mime/packages/gnochm.xml @dirrm share/gnome/gnochm @exec update-mime-database %D/share/mime @unexec update-mime-database %D/share/mime +@unexec rmdir %D/share/locale/de_DE/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/de_DE 2> /dev/null || true +@unexec rmdir %D/share/locale/tr_TR/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/tr_TR 2> /dev/null || true diff --git a/deskutils/gnome-pim/pkg-plist b/deskutils/gnome-pim/pkg-plist index 8330f86..e027e12 100644 --- a/deskutils/gnome-pim/pkg-plist +++ b/deskutils/gnome-pim/pkg-plist @@ -69,6 +69,12 @@ share/locale/vi/LC_MESSAGES/gnome-pim.mo share/locale/wa/LC_MESSAGES/gnome-pim.mo share/locale/zh_CN/LC_MESSAGES/gnome-pim.mo share/locale/zh_TW/LC_MESSAGES/gnome-pim.mo +@unexec rmdir %D/share/locale/gd/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/gd 2> /dev/null || true +@unexec rmdir %D/share/locale/gv/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/gv 2> /dev/null || true +@unexec rmdir %D/share/locale/kw/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/kw 2> /dev/null || true @dirrm share/gnome/help/gnomecard/eu @dirrm share/gnome/help/gnomecard/C @dirrm share/gnome/help/gnomecard diff --git a/deskutils/gnomepim/pkg-plist b/deskutils/gnomepim/pkg-plist index 8330f86..e027e12 100644 --- a/deskutils/gnomepim/pkg-plist +++ b/deskutils/gnomepim/pkg-plist @@ -69,6 +69,12 @@ share/locale/vi/LC_MESSAGES/gnome-pim.mo share/locale/wa/LC_MESSAGES/gnome-pim.mo share/locale/zh_CN/LC_MESSAGES/gnome-pim.mo share/locale/zh_TW/LC_MESSAGES/gnome-pim.mo +@unexec rmdir %D/share/locale/gd/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/gd 2> /dev/null || true +@unexec rmdir %D/share/locale/gv/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/gv 2> /dev/null || true +@unexec rmdir %D/share/locale/kw/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/kw 2> /dev/null || true @dirrm share/gnome/help/gnomecard/eu @dirrm share/gnome/help/gnomecard/C @dirrm share/gnome/help/gnomecard diff --git a/deskutils/logjam/pkg-plist b/deskutils/logjam/pkg-plist index b14fe3b..ca0d965 100644 --- a/deskutils/logjam/pkg-plist +++ b/deskutils/logjam/pkg-plist @@ -10,3 +10,9 @@ share/locale/es/LC_MESSAGES/logjam.mo share/locale/he/LC_MESSAGES/logjam.mo share/locale/ru_RU/LC_MESSAGES/logjam.mo share/locale/uk_UA/LC_MESSAGES/logjam.mo +@unexec rmdir %D/share/locale/en_US.UTF-8/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/en_US.UTF-8 2> /dev/null || true +@unexec rmdir %D/share/locale/ru_RU/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ru_RU 2> /dev/null || true +@unexec rmdir %D/share/locale/uk_UA/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/uk_UA 2> /dev/null || true |