From be3e1f7794486310bb005c6132d838a4e6421451 Mon Sep 17 00:00:00 2001 From: Kris Kennaway 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 --- finance/gnucash-devel/pkg-plist | 2 ++ finance/gnucash/pkg-plist | 2 ++ 2 files changed, 4 insertions(+) (limited to 'finance') diff --git a/finance/gnucash-devel/pkg-plist b/finance/gnucash-devel/pkg-plist index 865e0d484d87..8eb8b7259434 100644 --- a/finance/gnucash-devel/pkg-plist +++ b/finance/gnucash-devel/pkg-plist @@ -708,6 +708,8 @@ share/locale/tr/LC_MESSAGES/gnucash.mo share/locale/uk/LC_MESSAGES/gnucash.mo share/locale/zh_CN/LC_MESSAGES/gnucash.mo share/locale/zh_TW/LC_MESSAGES/gnucash.mo +@unexec rmdir %D/share/locale/es_NI/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/es_NI 2> /dev/null || true @dirrm share/gnome/pixmaps/gnucash @dirrm share/gnome/gnucash/scm/qif-import @dirrm share/gnome/gnucash/scm/printing diff --git a/finance/gnucash/pkg-plist b/finance/gnucash/pkg-plist index 865e0d484d87..8eb8b7259434 100644 --- a/finance/gnucash/pkg-plist +++ b/finance/gnucash/pkg-plist @@ -708,6 +708,8 @@ share/locale/tr/LC_MESSAGES/gnucash.mo share/locale/uk/LC_MESSAGES/gnucash.mo share/locale/zh_CN/LC_MESSAGES/gnucash.mo share/locale/zh_TW/LC_MESSAGES/gnucash.mo +@unexec rmdir %D/share/locale/es_NI/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/es_NI 2> /dev/null || true @dirrm share/gnome/pixmaps/gnucash @dirrm share/gnome/gnucash/scm/qif-import @dirrm share/gnome/gnucash/scm/printing -- cgit v1.2.3