From be3e1f7794486310bb005c6132d838a4e6421451 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Thu, 16 Dec 2004 05:49:27 +0000 Subject: 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 --- games/freeciv/pkg-plist | 26 -------------------------- 1 file changed, 26 deletions(-) (limited to 'games/freeciv') diff --git a/games/freeciv/pkg-plist b/games/freeciv/pkg-plist index a043fb2d08e5..5c7fe271919a 100644 --- a/games/freeciv/pkg-plist +++ b/games/freeciv/pkg-plist @@ -165,42 +165,16 @@ share/locale/ro/LC_MESSAGES/freeciv.mo share/locale/ru/LC_MESSAGES/freeciv.mo share/locale/sv/LC_MESSAGES/freeciv.mo share/locale/uk/LC_MESSAGES/freeciv.mo -@unexec rmdir %D/share/locale/da/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/da 2>/dev/null || true -@unexec rmdir %D/share/locale/de/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/de 2>/dev/null || true -@unexec rmdir %D/share/locale/en_GB/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/en_GB 2>/dev/null || true -@unexec rmdir %D/share/locale/es/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/es 2>/dev/null || true -@unexec rmdir %D/share/locale/et/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/et 2>/dev/null || true @unexec rmdir %D/share/locale/fi/LC_MESSAGES 2>/dev/null || true @unexec rmdir %D/share/locale/fi 2>/dev/null || true -@unexec rmdir %D/share/locale/fr/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/fr 2>/dev/null || true -@unexec rmdir %D/share/locale/hu/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/hu 2>/dev/null || true -@unexec rmdir %D/share/locale/it/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/it 2>/dev/null || true -@unexec rmdir %D/share/locale/ja/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/ja 2>/dev/null || true -@unexec rmdir %D/share/locale/nl/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/nl 2>/dev/null || true @unexec rmdir %D/share/locale/no/LC_MESSAGES 2>/dev/null || true @unexec rmdir %D/share/locale/no 2>/dev/null || true @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 -@unexec rmdir %D/share/locale/pt_BR/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/pt_BR 2>/dev/null || true @unexec rmdir %D/share/locale/ro/LC_MESSAGES 2>/dev/null || true @unexec rmdir %D/share/locale/ro 2>/dev/null || true -@unexec rmdir %D/share/locale/ru/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/ru 2>/dev/null || true -@unexec rmdir %D/share/locale/sv/LC_MESSAGES 2>/dev/null || true -@unexec rmdir %D/share/locale/sv 2>/dev/null || true @unexec rmdir %D/share/locale/sk/LC_MESSAGES 2>/dev/null || true @unexec rmdir %D/share/locale/sk 2>/dev/null || true @dirrm %%DATADIR%%/trident -- cgit v1.2.3