Drop update-mime-database from %post as well

No need to run it if we don't ship any mime xml files.
This commit is contained in:
Kalev Lember 2014-08-18 22:44:59 +02:00
parent dbd9cfe64f
commit 6b86a33e78

View File

@ -62,7 +62,6 @@ if [ $1 -eq 0 ]; then
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
update-mime-database %{_datadir}/mime &> /dev/null || :
fi
update-desktop-database %{_datadir}/applications &> /dev/null || :