From e172530438685c360cbf653f2bb3c211abdb8c14 Mon Sep 17 00:00:00 2001 From: Mathieu Bridon Date: Sep 27 2012 15:14:34 +0000 Subject: Update the desktop database in the scriptlets http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database --- 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 || :