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 /devel/glib20 | |
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 'devel/glib20')
-rw-r--r-- | devel/glib20/pkg-plist | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/glib20/pkg-plist b/devel/glib20/pkg-plist index 3b3abdb960c0..5a7533881bfe 100644 --- a/devel/glib20/pkg-plist +++ b/devel/glib20/pkg-plist @@ -155,6 +155,12 @@ share/locale/wa/LC_MESSAGES/glib20.mo share/locale/yi/LC_MESSAGES/glib20.mo share/locale/zh_CN/LC_MESSAGES/glib20.mo share/locale/zh_TW/LC_MESSAGES/glib20.mo +@unexec rmdir %D/share/locale/ne/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ne 2> /dev/null || true +@unexec rmdir %D/share/locale/sr@ije/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/sr@ije 2> /dev/null || true +@unexec rmdir %D/share/locale/yi/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/yi 2> /dev/null || true @dirrm share/glib-2.0/gettext/po @dirrm share/glib-2.0/gettext @dirrm share/glib-2.0 |