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 --- cad/geda-gschem/pkg-plist | 6 ++++++ cad/gschem/pkg-plist | 6 ++++++ 2 files changed, 12 insertions(+) (limited to 'cad') diff --git a/cad/geda-gschem/pkg-plist b/cad/geda-gschem/pkg-plist index 9c25552e041c..4e4fedeace30 100644 --- a/cad/geda-gschem/pkg-plist +++ b/cad/geda-gschem/pkg-plist @@ -33,3 +33,9 @@ share/locale/ru/LC_MESSAGES/geda-gschem.mo @unexec rmdir %D/share/doc/geda-doc/man 2>/dev/null || true @unexec rmdir %D/share/gEDA/scheme 2>/dev/null || true @dirrm share/gEDA/bitmap +@unexec rmdir %D/share/locale/de_DE/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/de_DE 2> /dev/null || true +@unexec rmdir %D/share/locale/nl_NL/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/nl_NL 2> /dev/null || true +@unexec rmdir %D/share/locale/ja_JP/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ja_JP 2> /dev/null || true diff --git a/cad/gschem/pkg-plist b/cad/gschem/pkg-plist index 9c25552e041c..4e4fedeace30 100644 --- a/cad/gschem/pkg-plist +++ b/cad/gschem/pkg-plist @@ -33,3 +33,9 @@ share/locale/ru/LC_MESSAGES/geda-gschem.mo @unexec rmdir %D/share/doc/geda-doc/man 2>/dev/null || true @unexec rmdir %D/share/gEDA/scheme 2>/dev/null || true @dirrm share/gEDA/bitmap +@unexec rmdir %D/share/locale/de_DE/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/de_DE 2> /dev/null || true +@unexec rmdir %D/share/locale/nl_NL/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/nl_NL 2> /dev/null || true +@unexec rmdir %D/share/locale/ja_JP/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/ja_JP 2> /dev/null || true -- cgit