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:
parent
dbd9cfe64f
commit
6b86a33e78
@ -62,7 +62,6 @@ if [ $1 -eq 0 ]; then
|
|||||||
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
touch --no-create %{_datadir}/icons/hicolor &> /dev/null || :
|
||||||
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
|
||||||
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
glib-compile-schemas %{_datadir}/glib-2.0/schemas &> /dev/null || :
|
||||||
update-mime-database %{_datadir}/mime &> /dev/null || :
|
|
||||||
fi
|
fi
|
||||||
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
update-desktop-database %{_datadir}/applications &> /dev/null || :
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user