aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-21 08:17:51 +0800
committerkris <kris@FreeBSD.org>2004-12-21 08:17:51 +0800
commitaa1b44adde1d2ee8c690fd06033802c66de5c390 (patch)
tree6cc5eece26ad9a82998941b9bb495774574ea715
parent2c0e0ad4b5503d5ad3e17a074016d884c8701107 (diff)
downloadfreebsd-ports-gnome-aa1b44adde1d2ee8c690fd06033802c66de5c390.tar.gz
freebsd-ports-gnome-aa1b44adde1d2ee8c690fd06033802c66de5c390.tar.zst
freebsd-ports-gnome-aa1b44adde1d2ee8c690fd06033802c66de5c390.zip
Don't remove system locale directories. Silently try to remove the
remaining non-system directories in case they're still in use.
-rw-r--r--devel/bison-devel/pkg-plist19
1 files changed, 2 insertions, 17 deletions
diff --git a/devel/bison-devel/pkg-plist b/devel/bison-devel/pkg-plist
index c0a6de4c2f2a..91d0ed56394b 100644
--- a/devel/bison-devel/pkg-plist
+++ b/devel/bison-devel/pkg-plist
@@ -25,22 +25,7 @@ share/locale/ro/LC_MESSAGES/bison.mo
share/locale/ru/LC_MESSAGES/bison.mo
share/locale/sv/LC_MESSAGES/bison.mo
share/locale/tr/LC_MESSAGES/bison.mo
-@dirrm share/locale/tr/LC_MESSAGES
-@dirrm share/locale/sv/LC_MESSAGES
-@dirrm share/locale/ru/LC_MESSAGES
-@dirrm share/locale/ro/LC_MESSAGES
-@dirrm share/locale/ro
-@dirrm share/locale/pt_BR/LC_MESSAGES
-@dirrm share/locale/nl/LC_MESSAGES
-@dirrm share/locale/ms/LC_MESSAGES
-@dirrm share/locale/ja/LC_MESSAGES
-@dirrm share/locale/it/LC_MESSAGES
-@dirrm share/locale/id/LC_MESSAGES
-@dirrm share/locale/hr/LC_MESSAGES
-@dirrm share/locale/fr/LC_MESSAGES
-@dirrm share/locale/et/LC_MESSAGES
-@dirrm share/locale/es/LC_MESSAGES
-@dirrm share/locale/de/LC_MESSAGES
-@dirrm share/locale/da/LC_MESSAGES
+@unexec rmdir %D/share/locale/ro/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/ro 2> /dev/null || true
@dirrm %%DATADIR%%/m4sugar
@dirrm %%DATADIR%%