aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
authorkuriyama <kuriyama@FreeBSD.org>2000-01-15 12:07:26 +0800
committerkuriyama <kuriyama@FreeBSD.org>2000-01-15 12:07:26 +0800
commit991ed3617ee83f77d77cd867de164ec0d9d41d91 (patch)
tree589870032536c53eaf97302294d60c20790e7cbb /security
parent2e0b9ed6f48c365333636dcb5db55f17cf66b24f (diff)
downloadfreebsd-ports-gnome-991ed3617ee83f77d77cd867de164ec0d9d41d91.tar.gz
freebsd-ports-gnome-991ed3617ee83f77d77cd867de164ec0d9d41d91.tar.zst
freebsd-ports-gnome-991ed3617ee83f77d77cd867de164ec0d9d41d91.zip
Use @unexec to remove locale directories.
Diffstat (limited to 'security')
-rw-r--r--security/gnupg/pkg-plist31
-rw-r--r--security/gnupg1/pkg-plist31
2 files changed, 38 insertions, 24 deletions
diff --git a/security/gnupg/pkg-plist b/security/gnupg/pkg-plist
index 9869cf2570e1..7b6df849b365 100644
--- a/security/gnupg/pkg-plist
+++ b/security/gnupg/pkg-plist
@@ -29,16 +29,23 @@ share/doc/gnupg/TODO
share/doc/gnupg/VERSION
@dirrm lib/gnupg
@dirrm share/gnupg
-@dirrm share/locale/es_ES/LC_MESSAGES
-@dirrm share/locale/es_ES
-@dirrm share/locale/id/LC_MESSAGES
-@dirrm share/locale/id
-@dirrm share/locale/it/LC_MESSAGES
-@dirrm share/locale/it
-@dirrm share/locale/pt_BR/LC_MESSAGES
-@dirrm share/locale/pt_BR
-@dirrm share/locale/pt_PT/LC_MESSAGES
-@dirrm share/locale/pt_PT
-@dirrm share/locale/ru/LC_MESSAGES
-@dirrm share/locale/ru
+@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/es_ES/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/es_ES 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/id/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/id 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/pl/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/pl 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/pt_PT/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/pt_PT 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/local 2>/dev/null || true
@dirrm share/doc/gnupg
diff --git a/security/gnupg1/pkg-plist b/security/gnupg1/pkg-plist
index 9869cf2570e1..7b6df849b365 100644
--- a/security/gnupg1/pkg-plist
+++ b/security/gnupg1/pkg-plist
@@ -29,16 +29,23 @@ share/doc/gnupg/TODO
share/doc/gnupg/VERSION
@dirrm lib/gnupg
@dirrm share/gnupg
-@dirrm share/locale/es_ES/LC_MESSAGES
-@dirrm share/locale/es_ES
-@dirrm share/locale/id/LC_MESSAGES
-@dirrm share/locale/id
-@dirrm share/locale/it/LC_MESSAGES
-@dirrm share/locale/it
-@dirrm share/locale/pt_BR/LC_MESSAGES
-@dirrm share/locale/pt_BR
-@dirrm share/locale/pt_PT/LC_MESSAGES
-@dirrm share/locale/pt_PT
-@dirrm share/locale/ru/LC_MESSAGES
-@dirrm share/locale/ru
+@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/es_ES/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/es_ES 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/id/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/id 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/pl/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/pl 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/pt_PT/LC_MESSAGES 2>/dev/null || true
+@unexec rmdir %D/share/locale/pt_PT 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/local 2>/dev/null || true
@dirrm share/doc/gnupg