Fix if check in specfiles.
This commit is contained in:
parent
2ec941d32e
commit
2ad00b15b6
@ -1,7 +1,7 @@
|
||||
Summary: Basic requirement for icon themes
|
||||
Name: hicolor-icon-theme
|
||||
Version: 0.7
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: GPL
|
||||
Group: User Interface/Desktops
|
||||
URL: http://freedesktop.org/Software/icon-theme
|
||||
@ -27,13 +27,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
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
%postun
|
||||
touch --no-create %{_datadir}/icons/hicolor
|
||||
if [-x /usr/bin/gtk-update-icon-cache ]; then
|
||||
if [ -x /usr/bin/gtk-update-icon-cache ]; then
|
||||
gtk-update-icon-cache %{_datadir}/icons/hicolor
|
||||
fi
|
||||
|
||||
@ -47,6 +47,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/icons/hicolor
|
||||
|
||||
%changelog
|
||||
* Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
|
||||
- rebuilt
|
||||
|
||||
* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 0.7-2
|
||||
- Update the GTK+ theme icon cache on (un)install
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user