[Fedora-directory-commits] ldapserver ldapserver.spec.tmpl, 1.21, 1.22

Richard Allen Megginson (rmeggins) fedora-directory-commits at redhat.com
Thu Dec 8 04:14:34 UTC 2005


Author: rmeggins

Update of /cvs/dirsec/ldapserver
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20261

Modified Files:
	ldapserver.spec.tmpl 
Log Message:
the install is an upgrade if the %post argument is greater than 1, not greater than or equal to 1


Index: ldapserver.spec.tmpl
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldapserver.spec.tmpl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -r1.21 -r1.22
--- ldapserver.spec.tmpl	8 Dec 2005 03:59:02 -0000	1.21
+++ ldapserver.spec.tmpl	8 Dec 2005 04:14:27 -0000	1.22
@@ -126,7 +126,7 @@
 if [ -f $RPM_INSTALL_PREFIX/setup/console-ld-libpath.patch ] ; then
     patch -d $RPM_INSTALL_PREFIX -p0 < $RPM_INSTALL_PREFIX/setup/console-ld-libpath.patch
 fi
-if [ "$1" -ge 1 ] ; then
+if [ "$1" -gt 1 ] ; then
 # patch file to upgrade admin server from 1.0 to 1.0.1
     if [ -f $RPM_INSTALL_PREFIX/setup/adminserver10to101.patch ] ; then
         patch -d $RPM_INSTALL_PREFIX -p0 < $RPM_INSTALL_PREFIX/setup/adminserver10to101.patch




More information about the Fedora-directory-commits mailing list