Fix if check in specfiles.

This commit is contained in:
Christopher Aillon 2005-03-28 10:56:12 +00:00
parent fcae093a37
commit b295832adf
1 changed files with 6 additions and 3 deletions

View File

@ -22,7 +22,7 @@ ExclusiveArch: i386 x86_64 ppc
Summary: %{pkg_summary}
Name: eclipse
Version: %{eclipse_majmin}.%{eclipse_micro}_fc
Release: 0.M5.14
Release: 0.M5.15
License: CPL
Group: Text Editors/Integrated Development Environments (IDE)
URL: http://www.eclipse.org/
@ -745,7 +745,7 @@ if [ -n "`find %{_libdir}/%{name}/mappings -name \*.db`" ]; then
gcj-dbtool -m $dbLocation `find %{_libdir}/%{name}/mappings -name \*.db` $dbLocation
fi
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
@ -784,7 +784,7 @@ if [ -n "`find %{_libdir}/%{name}/mappings -name \*.db`" ]; then
gcj-dbtool -m $dbLocation `find %{_libdir}/%{name}/mappings -name \*.db` $dbLocation
fi
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
@ -1021,6 +1021,9 @@ fi
%{_datadir}/%{name}/plugins/org.eclipse.platform.source.linux.gtk.*_3.1.0
%changelog
* Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
- rebuilt
* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> 3.1.0_fc-0.M5.14
- Update the GTK+ theme icon cache on (un)install