summaryrefslogtreecommitdiffstats
path: root/sysutils/xcdroast
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
committerkris <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
commit7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 (patch)
tree190106e9bf54a571703d713bb45b9e73a9c9d8c7 /sysutils/xcdroast
parentbefba174ca2c351e960ed7779aef28e6453785ff (diff)
downloadFreeBSD-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 'sysutils/xcdroast')
-rw-r--r--sysutils/xcdroast/pkg-plist4
1 files changed, 4 insertions, 0 deletions
diff --git a/sysutils/xcdroast/pkg-plist b/sysutils/xcdroast/pkg-plist
index e32433f..8b89648 100644
--- a/sysutils/xcdroast/pkg-plist
+++ b/sysutils/xcdroast/pkg-plist
@@ -50,3 +50,7 @@ share/locale/zh_TW.Big5/LC_MESSAGES/xcdroast.mo
@dirrm lib/xcdroast-0.98/sound
@dirrm lib/xcdroast-0.98
@unexec if pw groupshow -n xcdwrite 2>/dev/null 1>&2; then pw groupdel -n xcdwrite; fi
+@unexec rmdir %D/share/locale/el_GR/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/el_GR 2> /dev/null || true
+@unexec rmdir %D/share/locale/sq_AL/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/sq_AL 2> /dev/null || true
OpenPOWER on IntegriCloud