From 53d67228306f6862e1ef22ce204814ef8fff2a0d Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Thu, 27 Sep 2012 23:08:37 +0800 Subject: [PATCH] Update the desktop database in the scriptlets http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database --- evolution.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/evolution.spec b/evolution.spec index 852ad0c..939fcc5 100644 --- a/evolution.spec +++ b/evolution.spec @@ -300,10 +300,12 @@ grep -v "/usr/share/locale" evolution-%{evo_base_version}.lang > help.lang %post /sbin/ldconfig +/usr/bin/update-desktop-database &> /dev/null || : touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : %postun /sbin/ldconfig +/usr/bin/update-desktop-database &> /dev/null || : if [ $1 -eq 0 ] ; then touch --no-create %{_datadir}/icons/hicolor &>/dev/null || : gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :