no reason to update icon cache in %postun of main package *and* libs

This commit is contained in:
Adam Williamson 2013-05-10 14:25:39 -07:00
parent 05f8275309
commit 703fd1f1b2

View File

@ -98,10 +98,6 @@ glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
%postun
update-desktop-database &>/dev/null || :
glib-compile-schemas %{_datadir}/glib-2.0/schemas &>/dev/null || :
if [ $1 -eq 0 ] ; then
touch --no-create %{_datadir}/icons/hicolor &>/dev/null || :
gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
fi
%post libs
/sbin/ldconfig
@ -147,6 +143,9 @@ fi
%{_datadir}/gtk-doc
%changelog
* Fri May 10 2013 Adam Williamson <awilliam@redhat.com>
- no reason to update icon cache in %postun of main package *and* libs
* Tue Mar 26 2013 Kalev Lember <kalevlember@gmail.com> - 1:3.8.0-1
- Update to 3.8.0