summaryrefslogtreecommitdiff
path: root/astro
diff options
context:
space:
mode:
authorKris Kennaway <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
committerKris Kennaway <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
commitbe3e1f7794486310bb005c6132d838a4e6421451 (patch)
treea7dfcc67170c590a833d014ae4ba65ea8537deb0 /astro
parent- assume all ldap version work (diff)
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
Notes
Notes: svn path=/head/; revision=124183
Diffstat (limited to 'astro')
-rw-r--r--astro/glunarclock/pkg-plist2
-rw-r--r--astro/gpsdrive/pkg-plist2
2 files changed, 4 insertions, 0 deletions
diff --git a/astro/glunarclock/pkg-plist b/astro/glunarclock/pkg-plist
index 747659debb64..4b6c0fdc521f 100644
--- a/astro/glunarclock/pkg-plist
+++ b/astro/glunarclock/pkg-plist
@@ -32,6 +32,8 @@ share/locale/sr/LC_MESSAGES/glunarclock-0.30.mo
share/locale/sv/LC_MESSAGES/glunarclock-0.30.mo
share/locale/vi/LC_MESSAGES/glunarclock-0.30.mo
share/locale/wa/LC_MESSAGES/glunarclock-0.30.mo
+@unexec rmdir %D/share/locale/ast_ES/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/ast_ES 2> /dev/null || true
@dirrm share/gnome/pixmaps/glunarclock
@dirrm share/gnome/help/glunarclock-applet-2/C/figures
@dirrm share/gnome/help/glunarclock-applet-2/C
diff --git a/astro/gpsdrive/pkg-plist b/astro/gpsdrive/pkg-plist
index f0ce8b18427b..8e8c55c75c9c 100644
--- a/astro/gpsdrive/pkg-plist
+++ b/astro/gpsdrive/pkg-plist
@@ -59,4 +59,6 @@ share/locale/sk/LC_MESSAGES/gpsdrive.mo
share/locale/sv/LC_MESSAGES/gpsdrive.mo
share/locale/tr/LC_MESSAGES/gpsdrive.mo
share/pixmaps/gpsicon.png
+@unexec rmdir %D/share/locale/gr/LC_MESSAGES 2> /dev/null || true
+@unexec rmdir %D/share/locale/gr 2> /dev/null || true
@dirrm share/gpsdrive