- silence gtk-update-icon-cache in %post

This commit is contained in:
Jeremy Katz 2005-04-27 13:52:38 +00:00
parent c70f1b266f
commit e98ab8f386

View File

@ -154,7 +154,7 @@ rm -rf $RPM_BUILD_ROOT
cd %{_prefix}/X11R6/lib/X11/fonts/misc && %{_prefix}/X11R6/bin/mkfontdir
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache %{_datadir}/icons/hicolor
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%postun x11
@ -163,7 +163,7 @@ if [ "$1" = "0" ]; then
fi
touch --no-create %{_datadir}/icons/hicolor
if [ -x /usr/bin/gtk-update-icon-cache ]; then
gtk-update-icon-cache %{_datadir}/icons/hicolor
gtk-update-icon-cache -q %{_datadir}/icons/hicolor
fi
%files
@ -197,6 +197,9 @@ fi
%{_mandir}/man1/c3270*
%changelog
* Wed Apr 27 2005 Jeremy Katz <katzj@redhat.com>
- silence gtk-update-icon-cache in %%post
* Wed Apr 20 2005 Karsten Hopp <karsten@redhat.de> 3.3.4-3
- more fixes, enable StartupNotify