From 7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 Mon Sep 17 00:00:00 2001 From: kris 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 --- x11-toolkits/gtk20/pkg-plist | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'x11-toolkits/gtk20') diff --git a/x11-toolkits/gtk20/pkg-plist b/x11-toolkits/gtk20/pkg-plist index 067be721fe1c..8a749542990a 100644 --- a/x11-toolkits/gtk20/pkg-plist +++ b/x11-toolkits/gtk20/pkg-plist @@ -468,3 +468,23 @@ share/themes/Emacs/gtk-2.0-key/gtkrc @exec /bin/mkdir -p %D/lib/gtk-2.0/modules @unexec /bin/rmdir %D/share/themes/Default 2>/dev/null || /usr/bin/true @unexec /bin/rmdir %D/share/themes 2>/dev/null || /usr/bin/true +@unexec rmdir %D/share/locale/ang/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ang 2> /dev/null || true +@unexec rmdir %D/share/locale/az_IR/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/az_IR 2> /dev/null || true +@unexec rmdir %D/share/locale/br/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/br 2> /dev/null || true +@unexec rmdir %D/share/locale/ia/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ia 2> /dev/null || true +@unexec rmdir %D/share/locale/mi/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/mi 2> /dev/null || true +@unexec rmdir %D/share/locale/mr/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/mr 2> /dev/null || true +@unexec rmdir %D/share/locale/nso/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/nso 2> /dev/null || true +@unexec rmdir %D/share/locale/sr@ije/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/sr@ije 2> /dev/null || true +@unexec rmdir %D/share/locale/uz@Latn/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/uz@Latn 2> /dev/null || true +@unexec rmdir %D/share/locale/yi/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/yi 2> /dev/null || true -- cgit