diff options
author | Olivier Thauvin <nanardon@mandriva.org> | 2006-07-28 15:35:00 +0000 |
---|---|---|
committer | Olivier Thauvin <nanardon@mandriva.org> | 2006-07-28 15:35:00 +0000 |
commit | 29c431ec6835e184eaee3e04c817cabd55b97a48 (patch) | |
tree | 8c2b105f01836525a10a942d6a1e096d2c283995 /macros.in | |
parent | 6fac6fcc2e22d4a13420810992f58ad6d2663e7b (diff) | |
download | rpm-setup-29c431ec6835e184eaee3e04c817cabd55b97a48.tar rpm-setup-29c431ec6835e184eaee3e04c817cabd55b97a48.tar.gz rpm-setup-29c431ec6835e184eaee3e04c817cabd55b97a48.tar.bz2 rpm-setup-29c431ec6835e184eaee3e04c817cabd55b97a48.tar.xz rpm-setup-29c431ec6835e184eaee3e04c817cabd55b97a48.zip |
- apply patch fixing #23980 (%clean_icon_cache will fail for icon theme packages) from G. Waschk
Diffstat (limited to 'macros.in')
-rw-r--r-- | macros.in | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -205,7 +205,8 @@ 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 [ -x %{_update_icon_cache_bin} ]; then \ +%clean_icon_cache() if [ -x %{_update_icon_cache_bin} -a -r \ +%{_iconsdir}/%{1}/index.theme ]; then \ %{_update_icon_cache_bin} --force --quiet %{_iconsdir}/%{1} || true ; fi \ %{nil} |