diff options
author | kris <kris@FreeBSD.org> | 2004-12-16 05:49:27 +0000 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-12-16 05:49:27 +0000 |
commit | 7b7c9bd0dc7d6b6913f2fa5e8ba139254cdbe135 (patch) | |
tree | 190106e9bf54a571703d713bb45b9e73a9c9d8c7 /net-im | |
parent | befba174ca2c351e960ed7779aef28e6453785ff (diff) | |
download | FreeBSD-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 'net-im')
-rw-r--r-- | net-im/kmerlin/pkg-plist | 4 | ||||
-rw-r--r-- | net-im/kmess-kde4/pkg-plist | 2 | ||||
-rw-r--r-- | net-im/kmess/pkg-plist | 2 | ||||
-rw-r--r-- | net-im/sim-im/pkg-plist | 2 | ||||
-rw-r--r-- | net-im/simicq/pkg-plist | 2 |
5 files changed, 12 insertions, 0 deletions
diff --git a/net-im/kmerlin/pkg-plist b/net-im/kmerlin/pkg-plist index 986ac7f..775e701 100644 --- a/net-im/kmerlin/pkg-plist +++ b/net-im/kmerlin/pkg-plist @@ -83,6 +83,10 @@ share/locale/zh-TW/LC_MESSAGES/kmerlin.mo share/icons/locolor/32x32/apps/kmerlin.png share/icons/locolor/16x16/apps/kmerlin.png share/applnk/Internet/kmerlin.desktop +@unexec rmdir %D/share/locale/zh-CN/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/zh-CN 2> /dev/null || true +@unexec rmdir %D/share/locale/zh-TW/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/zh-TW 2> /dev/null || true @dirrm share/doc/HTML/en/kmerlin @dirrm share/apps/kmerlin/icons/hicolor/16x16/actions @dirrm share/apps/kmerlin/icons/hicolor/16x16 diff --git a/net-im/kmess-kde4/pkg-plist b/net-im/kmess-kde4/pkg-plist index 75baf8b..d9dd7a8 100644 --- a/net-im/kmess-kde4/pkg-plist +++ b/net-im/kmess-kde4/pkg-plist @@ -112,6 +112,8 @@ share/sounds/kmess_chat.ogg share/sounds/kmess_logoff.ogg share/sounds/kmess_logon.ogg share/sounds/kmess_msg.ogg +@unexec rmdir %D/share/locale/zh_CN.GB18030/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/zh_CN.GB18030 2> /dev/null || true @dirrm share/doc/HTML/en/kmess @dirrm share/apps/kmess/pics @dirrm share/apps/kmess/icons/hicolor/16x16/apps diff --git a/net-im/kmess/pkg-plist b/net-im/kmess/pkg-plist index 75baf8b..d9dd7a8 100644 --- a/net-im/kmess/pkg-plist +++ b/net-im/kmess/pkg-plist @@ -112,6 +112,8 @@ share/sounds/kmess_chat.ogg share/sounds/kmess_logoff.ogg share/sounds/kmess_logon.ogg share/sounds/kmess_msg.ogg +@unexec rmdir %D/share/locale/zh_CN.GB18030/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/zh_CN.GB18030 2> /dev/null || true @dirrm share/doc/HTML/en/kmess @dirrm share/apps/kmess/pics @dirrm share/apps/kmess/icons/hicolor/16x16/apps diff --git a/net-im/sim-im/pkg-plist b/net-im/sim-im/pkg-plist index 122fbcd..4555cb2 100644 --- a/net-im/sim-im/pkg-plist +++ b/net-im/sim-im/pkg-plist @@ -129,6 +129,8 @@ share/services/simctrl.desktop @unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true @unexec rmdir %D/share/icons/hicolor 2>/dev/null || true @unexec rmdir %D/share/icons 2>/dev/null || true +@unexec rmdir %D/share/locale/sw/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/sw 2> /dev/null || true @dirrm share/apps/sim/styles @dirrm share/apps/sim/sounds @dirrm share/apps/sim/pict diff --git a/net-im/simicq/pkg-plist b/net-im/simicq/pkg-plist index 122fbcd..4555cb2 100644 --- a/net-im/simicq/pkg-plist +++ b/net-im/simicq/pkg-plist @@ -129,6 +129,8 @@ share/services/simctrl.desktop @unexec rmdir %D/share/icons/hicolor/16x16 2>/dev/null || true @unexec rmdir %D/share/icons/hicolor 2>/dev/null || true @unexec rmdir %D/share/icons 2>/dev/null || true +@unexec rmdir %D/share/locale/sw/LC_MESSAGES 2> /dev/null || true +@unexec rmdir %D/share/locale/sw 2> /dev/null || true @dirrm share/apps/sim/styles @dirrm share/apps/sim/sounds @dirrm share/apps/sim/pict |