Fix if check in specfiles.

This commit is contained in:
Christopher Aillon 2005-03-28 10:56:12 +00:00
parent b47788ac17
commit dcf49accec

View File

@ -14,7 +14,7 @@ Version: 2.2.4
%define minorver 200 %define minorver 200
%define microver %(ver=%{version}; echo ${ver##*.*.}) %define microver %(ver=%{version}; echo ${ver##*.*.})
#define prever pre2 #define prever pre2
Release: %{?prever:0.0.%{prever}.}6 Release: %{?prever:0.0.%{prever}.}7
Epoch: 2 Epoch: 2
License: GPL, LGPL License: GPL, LGPL
Group: Applications/Multimedia Group: Applications/Multimedia
@ -181,7 +181,7 @@ if [ -x %{_sbindir}/xsane-install-gimp-plugin ]; then
%{_sbindir}/xsane-install-gimp-plugin --install %{interfacever} %{_sbindir}/xsane-install-gimp-plugin --install %{interfacever}
fi fi
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
@ -197,7 +197,7 @@ if [ "$1" = "0" ]; then
/usr/bin/update-desktop-database %{_datadir}/applications /usr/bin/update-desktop-database %{_datadir}/applications
fi fi
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
@ -313,6 +313,9 @@ fi
%{_libdir}/pkgconfig/* %{_libdir}/pkgconfig/*
%changelog %changelog
* Mon Mar 28 2005 Christopher Aillon <caillon@redhat.com>
- rebuilt
* Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com> * Fri Mar 25 2005 Christopher Aillon <caillon@redhat.com>
- Update the GTK+ theme icon cache on (un)install - Update the GTK+ theme icon cache on (un)install