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 /cad/gschem | |
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 'cad/gschem')
-rw-r--r-- | cad/gschem/pkg-plist | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/cad/gschem/pkg-plist b/cad/gschem/pkg-plist index 9c25552e041c..4e4fedeace30 100644 --- a/cad/gschem/pkg-plist +++ b/cad/gschem/pkg-plist @@ -33,3 +33,9 @@ share/locale/ru/LC_MESSAGES/geda-gschem.mo @unexec rmdir %D/share/doc/geda-doc/man 2>/dev/null || true @unexec rmdir %D/share/gEDA/scheme 2>/dev/null || true @dirrm share/gEDA/bitmap +@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/nl_NL/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/nl_NL 2> /dev/null || true +@unexec rmdir %D/share/locale/ja_JP/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ja_JP 2> /dev/null || true |