aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Crozat <fcrozat@mandriva.com>2006-07-13 08:42:20 +0000
committerFrederic Crozat <fcrozat@mandriva.com>2006-07-13 08:42:20 +0000
commit73abd82c00dd409f5afa6f281de9aba0f3cfda7f (patch)
treeef89292de9290845a9658e4ded6b0e0ba19f7da8
parentd40412e19b6481ac75af9adacbaa4122c63729ce (diff)
downloadrpm-setup-73abd82c00dd409f5afa6f281de9aba0f3cfda7f.tar
rpm-setup-73abd82c00dd409f5afa6f281de9aba0f3cfda7f.tar.gz
rpm-setup-73abd82c00dd409f5afa6f281de9aba0f3cfda7f.tar.bz2
rpm-setup-73abd82c00dd409f5afa6f281de9aba0f3cfda7f.tar.xz
rpm-setup-73abd82c00dd409f5afa6f281de9aba0f3cfda7f.zip
Force also icon cache generation on uninstall or removed files might be left in cache
-rw-r--r--macros.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/macros.in b/macros.in
index c595221..aee95f0 100644
--- a/macros.in
+++ b/macros.in
@@ -205,7 +205,7 @@ then %{_update_mime_database_bin} %{_datadir}/mime > /dev/null || true ; fi \
%{_update_icon_cache_bin} --force --quiet %{_iconsdir}/%{1} || true; fi \
%{nil}
-%clean_icon_cache() if [ "$1" = "0" -a -x %{_update_icon_cache_bin} ]; then \
+%clean_icon_cache() if [ -x %{_update_icon_cache_bin} ]; then \
%{_update_icon_cache_bin} --force --quiet %{_iconsdir}/%{1} || true ; fi \
%{nil}