Silence gtk-update-icon-cache

epel9
Matthias Clasen 20 years ago
parent 189f54c9c7
commit 3afd7bd937

@ -1,7 +1,7 @@
Summary: Base gnome icons
Name: gnome-icon-theme
Version: 2.12.0
Release: 1
Release: 2
Source0: %{name}-%{version}.tar.bz2
Source1: external-icons-2.10.1-2.tar.gz
License: GPL
@ -77,7 +77,9 @@ rm -rf $RPM_BUILD_ROOT
%post
for dir in /usr/share/icons/*; do
if test -d "$dir"; then
/usr/bin/gtk-update-icon-cache --quiet $dir
if test -f "$dir/index.theme"; then
/usr/bin/gtk-update-icon-cache --quiet $dir
fi
fi
done
@ -88,6 +90,10 @@ done
%{_datadir}/pkgconfig/gnome-icon-theme.pc
%changelog
* Sat Oct 1 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-2
- Only call gtk-update-icon-cache on directories which have a
theme index file
* Thu Sep 8 2005 Matthias Clasen <mclasen@redhat.com> - 2.12.0-1
- update to 2.12.0

Loading…
Cancel
Save