aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorahze <ahze@FreeBSD.org>2005-03-14 00:32:06 +0800
committerahze <ahze@FreeBSD.org>2005-03-14 00:32:06 +0800
commit8264e21008227cf4513ee6c5f5f09e82f397ce74 (patch)
tree45afd82819a353a656281087c7345353ee78a1a6
parente4574f160789395adc85f8b961ef56928425b47f (diff)
downloadfreebsd-ports-gnome-8264e21008227cf4513ee6c5f5f09e82f397ce74.tar.gz
freebsd-ports-gnome-8264e21008227cf4513ee6c5f5f09e82f397ce74.tar.zst
freebsd-ports-gnome-8264e21008227cf4513ee6c5f5f09e82f397ce74.zip
- Only remove locale directories if empty
-rw-r--r--math/gnumeric/pkg-plist4
1 files changed, 2 insertions, 2 deletions
diff --git a/math/gnumeric/pkg-plist b/math/gnumeric/pkg-plist
index d5ecbaf593da..0c8c5160f46f 100644
--- a/math/gnumeric/pkg-plist
+++ b/math/gnumeric/pkg-plist
@@ -762,8 +762,8 @@ share/locale/uk/LC_MESSAGES/gnumeric.mo
share/locale/vi/LC_MESSAGES/gnumeric.mo
share/locale/zh_CN/LC_MESSAGES/gnumeric.mo
share/locale/zh_TW/LC_MESSAGES/gnumeric.mo
-@dirrm share/locale/mr/LC_MESSAGES
-@dirrm share/locale/mr
+@unexec rmdir %D/share/locale/mr/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/mr 2> /dev/null || true
@dirrm share/gnome/pixmaps/gnumeric
@dirrm share/gnome/omf/gnumeric
@dirrm share/gnome/gnumeric/%%VERSION%%/templates