Silence %post

This commit is contained in:
Matthias Clasen 2005-04-18 22:49:22 +00:00
parent 8bcf17c4de
commit b979f3a947

View File

@ -1,7 +1,7 @@
Summary: Basic requirement for icon themes
Name: hicolor-icon-theme
Version: 0.8
Release: 1
Release: 2
License: GPL
Group: User Interface/Desktops
URL: http://freedesktop.org/Software/icon-theme
@ -28,13 +28,13 @@ make DESTDIR=$RPM_BUILD_ROOT PREFIX=/usr install
%post
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 --quiet %{_datadir}/icons/hicolor
fi
%postun
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 --quiet %{_datadir}/icons/hicolor
fi
@ -47,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
%{_datadir}/icons/hicolor
%changelog
* Tue Apr 19 2005 Matthias Clasen <mclasen@redhat.com> 0.8-2
- Silence %%post
* Thu Apr 14 2005 John (J5) Palmieri <johnp@redhat.com>
- Update to 0.8