Update the desktop database in the scriptlets
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database
This commit is contained in:
parent
9f175884e0
commit
53d6722830
@ -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 || :
|
||||
|
Loading…
Reference in New Issue
Block a user