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 /misc/kcd-devel | |
parent | befba174ca2c351e960ed7779aef28e6453785ff (diff) | |
download | freebsd-ports-graphics-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.gz freebsd-ports-graphics-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.zst freebsd-ports-graphics-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 'misc/kcd-devel')
-rw-r--r-- | misc/kcd-devel/pkg-plist | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/misc/kcd-devel/pkg-plist b/misc/kcd-devel/pkg-plist index c92f07ed923..af488b09f1c 100644 --- a/misc/kcd-devel/pkg-plist +++ b/misc/kcd-devel/pkg-plist @@ -9,3 +9,7 @@ share/locale/en_US.UTF-8/LC_MESSAGES/kcd.mo %%PORTDOCS%%share/examples/kcd/kcd.sh.init %%PORTDOCS%%@dirrm share/examples/kcd %%PORTDOCS%%@dirrm share/doc/kcd +@unexec rmdir %D/share/locale/en_GB.UTF-8/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/en_GB.UTF-8 2> /dev/null || true +@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 |