summaryrefslogtreecommitdiffstats
path: root/astro
diff options
context:
space:
mode:
authorkris <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
committerkris <kris@FreeBSD.org>2004-12-16 05:49:27 +0000
commit7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 (patch)
tree190106e9bf54a571703d713bb45b9e73a9c9d8c7 /astro
parentbefba174ca2c351e960ed7779aef28e6453785ff (diff)
downloadFreeBSD-ports-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.zip
FreeBSD-ports-7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135.tar.gz
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
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 747659d..4b6c0fd 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 f0ce8b1..8e8c55c 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
OpenPOWER on IntegriCloud