https://bugzilla.redhat.com/show_bug.cgi?id=1334059
--- Comment #7 from Antonio Trande <anto.trande(a)gmail.com> ---
(In reply to MartinKG from comment #6)
Issues:
=======
- update-desktop-database is invoked in %post and %postun if package
contains desktop file(s) with a MimeType: entry.
Note: desktop file(s) with MimeType entry in openclonk
See:
http://fedoraproject.org/wiki/Packaging:ScriptletSnippets#desktop-
database
Are there.
%post
/bin/touch --no-create %{_datadir}/mime/packages &>/dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
%postun
if [ $1 -eq 0 ] ; then
/usr/bin/update-mime-database %{_datadir}/mime &> /dev/null || :
/bin/touch --no-create %{_datadir}/icons/hicolor &>/dev/null
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%posttrans
/usr/bin/update-mime-database %{?fedora:-n} %{_datadir}/mime &> /dev/null || :
/usr/bin/gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
--
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component