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