From 3eafb797bde39fbee251340b08c13d9cad0ad5148bae512306e5156dd8341304 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Wed, 9 Nov 2011 13:17:12 +0000 Subject: [PATCH] - update icon cache after install/removal (bnc#726758) OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaThunderbird?expand=0&rev=143 --- MozillaThunderbird.changes | 1 + MozillaThunderbird.spec | 9 +++++++++ 2 files changed, 10 insertions(+) diff --git a/MozillaThunderbird.changes b/MozillaThunderbird.changes index cb6e9e5..e8b3a4c 100644 --- a/MozillaThunderbird.changes +++ b/MozillaThunderbird.changes @@ -12,6 +12,7 @@ Mon Nov 7 20:23:30 UTC 2011 - wr@rosenauer.org Code execution via NoWaiverWrapper - rebased patches - update enigmail to 1.3.3 +- update icon cache after install/removal (bnc#726758) ------------------------------------------------------------------- Fri Sep 30 09:59:15 UTC 2011 - wr@rosenauer.org diff --git a/MozillaThunderbird.spec b/MozillaThunderbird.spec index b1629c6..1e4fda9 100644 --- a/MozillaThunderbird.spec +++ b/MozillaThunderbird.spec @@ -413,6 +413,9 @@ exit 0 %post %progdir/add-plugins.sh > /dev/null 2>&1 +%if %suse_version > 1130 +%icon_theme_cache_post +%endif # remove enigmail on updates if [ -e %progdir/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\} ]; then rm -rf %progdir/extensions/\{847b3a00-7ab1-11d4-8f02-006008948af5\} @@ -431,6 +434,12 @@ if [ "$1" = "0" ]; then # deinstallation fi exit 0 +%postun +%if %suse_version > 1130 +%icon_theme_cache_postun +%endif +exit 0 + %files %defattr(-,root,root) %attr(755,root,root) %{progdir}/%{progname}.sh