remove needless icon scriptlets

This commit is contained in:
Rex Dieter 2012-11-09 08:20:19 -06:00
parent 8ab9ab55d2
commit 36542152e4

View File

@ -86,19 +86,15 @@ rm $RPM_BUILD_ROOT%{_libdir}/gnome-keyring/devel/*.la
%post
/sbin/ldconfig
update-mime-database %{_datadir}/mime &> /dev/null || :
touch %{_datadir}/icons/hicolor >&/dev/null || :
%postun
/sbin/ldconfig
update-mime-database %{_datadir}/mime &> /dev/null || :
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 || :
fi
%posttrans
gtk-update-icon-cache %{_datadir}/icons/hicolor >&/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas >&/dev/null || :