Update the desktop database in the scriptlets
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-database
This commit is contained in:
parent
cae36e1c5c
commit
e172530438
1 changed files with 2 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue