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 /mail | |
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 'mail')
-rw-r--r-- | mail/gnubiff/pkg-plist | 2 | ||||
-rw-r--r-- | mail/kbiff/pkg-plist | 2 | ||||
-rw-r--r-- | mail/spruce/pkg-plist | 2 |
3 files changed, 6 insertions, 0 deletions
diff --git a/mail/gnubiff/pkg-plist b/mail/gnubiff/pkg-plist index 4e85afcb6004..3f278b10f410 100644 --- a/mail/gnubiff/pkg-plist +++ b/mail/gnubiff/pkg-plist @@ -30,4 +30,6 @@ share/locale/sv/LC_MESSAGES/gnubiff.mo %%SHAREDIR%%/pixmaps/gnubiff.png %%WITH_GNOME%%libdata/bonobo/servers/GNOME_gnubiffApplet.server %%WITH_GNOME%%%%SHAREDIR%%/gnome-2.0/ui/GNOME_gnubiffApplet.xml +@unexec rmdir %D/share/locale/fr_CA/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/fr_CA 2> /dev/null || true@ @dirrm %%SHAREDIR%%/gnubiff diff --git a/mail/kbiff/pkg-plist b/mail/kbiff/pkg-plist index 1898cba7b8db..5390eee2d243 100644 --- a/mail/kbiff/pkg-plist +++ b/mail/kbiff/pkg-plist @@ -60,6 +60,8 @@ share/locale/sv/LC_MESSAGES/kbiff.mo share/locale/tr/LC_MESSAGES/kbiff.mo share/locale/uk/LC_MESSAGES/kbiff.mo share/locale/zh_TW.Big5/LC_MESSAGES/kbiff.mo +@unexec rmdir %D/share/locale/no_NY/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/no_NY 2> /dev/null || true @dirrm share/doc/HTML/fr/kbiff @dirrm share/doc/HTML/es/kbiff @dirrm share/doc/HTML/en/kbiff diff --git a/mail/spruce/pkg-plist b/mail/spruce/pkg-plist index e606af8503bd..a73efe956b63 100644 --- a/mail/spruce/pkg-plist +++ b/mail/spruce/pkg-plist @@ -12,3 +12,5 @@ bin/spruce %%NLS%%share/locale/sk/LC_MESSAGES/spruce.mo %%NLS%%share/locale/sv/LC_MESSAGES/spruce.mo %%NLS%%share/locale/zh_TW.Big5/LC_MESSAGES/spruce.mo +%%NLS%%@unexec rmdir %D/share/locale/ru_RU/LC_MESSAGES 2> /dev/null || true +%%NLS%%@unexec rmdir %D/share/locale/ru_RU 2> /dev/null || true |