From 13aaf9ce3241fec179fe2b8e43d748cfa7f3dda6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Thu, 10 Jul 2008 11:22:16 +0000 Subject: 1.84: [bugfix] fix %update_icon_cache/%clean_icon_cache --- build.macros.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'build.macros.in') diff --git a/build.macros.in b/build.macros.in index be64ef2..490de20 100644 --- a/build.macros.in +++ b/build.macros.in @@ -107,15 +107,15 @@ Group: %{group}\ # Rebuild icon cache # # following themes are handled through filetriggers: -%define icon_cache_through_filetrigger_hicolor 1 -%define icon_cache_through_filetrigger_gnome 1 -%define icon_cache_through_filetrigger_oxygen 1 +%icon_cache_through_filetrigger_hicolor 1 +%icon_cache_through_filetrigger_gnome 1 +%icon_cache_through_filetrigger_oxygen 1 -%define update_icon_cache() %{expand: %%{!?icon_cache_through_filetrigger_%1:if [ -x %%{_update_icon_cache_bin} ]; then \ +%update_icon_cache() %{expand: %%{!?icon_cache_through_filetrigger_%1:if [ -x %%{_update_icon_cache_bin} ]; then \ %%{_update_icon_cache_bin} --force --quiet %%{_iconsdir}/%%{1} || true; fi \ %%{nil}}} -%define clean_icon_cache() %{expand: %%{!?icon_cache_through_filetrigger_%1:if [ -x %%{_update_icon_cache_bin} -a -r %%{_iconsdir}/%%{1}/index.theme ]; then \ +%clean_icon_cache() %{expand: %%{!?icon_cache_through_filetrigger_%1:if [ -x %%{_update_icon_cache_bin} -a -r %%{_iconsdir}/%%{1}/index.theme ]; then \ %%{_update_icon_cache_bin} --force --quiet %%{_iconsdir}/%%{1} || true ; fi \ %%{nil}}} -- cgit v1.2.1