aboutsummaryrefslogtreecommitdiff
path: root/print/a2ps-letter
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-12-20 06:25:32 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-12-20 06:25:32 +0000
commit3e57c8d5d930fd95c3aadcf8d86d5af73e035aad (patch)
tree4d0cb57819cb2aabd6393ab5dd674d69b44714d6 /print/a2ps-letter
parentbaebf7bc67f6abd4b5e8322b19e508d44e2c38ab (diff)
downloadports-3e57c8d5d930fd95c3aadcf8d86d5af73e035aad.tar.gz
ports-3e57c8d5d930fd95c3aadcf8d86d5af73e035aad.zip
Don't remove system locale directories (not listed in the relevant
BSD.*.dist), but do remove locale directories that are not listed there. Moreover, don't try to unconditionally @dirrm these directories since they're shared with other ports and are likely to still be in use.
Notes
Notes: svn path=/head/; revision=124551
Diffstat (limited to 'print/a2ps-letter')
-rw-r--r--print/a2ps-letter/pkg-plist49
1 files changed, 14 insertions, 35 deletions
diff --git a/print/a2ps-letter/pkg-plist b/print/a2ps-letter/pkg-plist
index 3c09c7efe025..cda25150c6b3 100644
--- a/print/a2ps-letter/pkg-plist
+++ b/print/a2ps-letter/pkg-plist
@@ -268,38 +268,17 @@ lib/liba2ps.a
@dirrm share/a2ps/sheets
@dirrm share/a2ps/encoding
@dirrm share/a2ps
-@dirrm share/locale/ca/LC_MESSAGES
-@dirrm share/locale/ca
-@dirrm share/locale/cs/LC_MESSAGES
-@dirrm share/locale/cs
-@dirrm share/locale/da/LC_MESSAGES
-@dirrm share/locale/da
-@dirrm share/locale/de/LC_MESSAGES
-@dirrm share/locale/de
-@dirrm share/locale/es/LC_MESSAGES
-@dirrm share/locale/es
-@dirrm share/locale/et/LC_MESSAGES
-@dirrm share/locale/et
-@dirrm share/locale/fr/LC_MESSAGES
-@dirrm share/locale/fr
-@dirrm share/locale/it/LC_MESSAGES
-@dirrm share/locale/it
-@dirrm share/locale/ko/LC_MESSAGES
-@dirrm share/locale/ko
-@dirrm share/locale/nl/LC_MESSAGES
-@dirrm share/locale/nl
-@dirrm share/locale/no/LC_MESSAGES
-@dirrm share/locale/no
-@dirrm share/locale/pl/LC_MESSAGES
-@dirrm share/locale/pl
-@dirrm share/locale/pt/LC_MESSAGES
-@dirrm share/locale/pt
-@dirrm share/locale/ru/LC_MESSAGES
-@dirrm share/locale/ru
-@dirrm share/locale/sl/LC_MESSAGES
-@dirrm share/locale/sl
-@dirrm share/locale/sv/LC_MESSAGES
-@dirrm share/locale/sv
-@dirrm share/locale/tr/LC_MESSAGES
-@dirrm share/locale/tr
-@dirrm share/locale
+@unexec rmdir %D/share/locale/ca/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/ca 2> /dev/null || true
+@unexec rmdir %D/share/locale/cs/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/cs 2> /dev/null || true
+@unexec rmdir %D/share/locale/ko/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/ko 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/sl/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/sl 2> /dev/null || true