string comparison => number.

This commit is contained in:
Toshio くらとみ 2009-11-17 03:30:29 +00:00
parent 42e5fe46bc
commit b558a0234c

View File

@ -59,7 +59,7 @@ find $RPM_BUILD_ROOT%{python_sitelib} -name '*.exe' | xargs rm -f
chmod +x $RPM_BUILD_ROOT%{python_sitelib}/setuptools/command/easy_install.py chmod +x $RPM_BUILD_ROOT%{python_sitelib}/setuptools/command/easy_install.py
%pre %pre
if [ $1 -gt 0 ] ; then if [ $1 == 2 ] ; then
OLDDIR="%{python_sitelib}/setuptools-0.6c9-py2.6.egg-info" OLDDIR="%{python_sitelib}/setuptools-0.6c9-py2.6.egg-info"
if [ -d $OLDDIR ] ; then if [ -d $OLDDIR ] ; then
rm -rf $OLDDIR rm -rf $OLDDIR