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 /audio/mp3c | |
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 'audio/mp3c')
-rw-r--r-- | audio/mp3c/pkg-plist | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/mp3c/pkg-plist b/audio/mp3c/pkg-plist index feb6bc7..8afd0ca 100644 --- a/audio/mp3c/pkg-plist +++ b/audio/mp3c/pkg-plist @@ -5,3 +5,7 @@ share/locale/es/LC_MESSAGES/mp3c.mo share/locale/it/LC_MESSAGES/mp3c.mo share/locale/pl/LC_MESSAGES/mp3c.mo share/locale/pt/LC_MESSAGES/mp3c.mo +@unexec rmdir %D/share/locale/pl/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/pl 2> /dev/null || true +@unexec rmdir %D/share/locale/pt/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/pt 2> /dev/null || true |