bump release number
[pl_sshd.git] / pl_sshd.spec
index 9898a8e..8504e9b 100644 (file)
@@ -1,11 +1,11 @@
 %define name pl_sshd
 %define version 1.0
-%define release 4.planetlab%{?date:.%{date}}
+%define release 5.planetlab%{?date:.%{date}}
 
 Vendor: PlanetLab
 Packager: PlanetLab Central <support@planet-lab.org>
 Distribution: PlanetLab 3.0
-URL: http://www.planet-lab.org
+URL: http://cvs.planet-lab.org/cvs/pl_sshd
 
 Summary: SSH server config for PlanetLab
 Name: %{name}
@@ -97,7 +97,7 @@ fi
 RUNLEVEL=`/sbin/runlevel`
 
 # 0 = erase, 1 = upgrade
-if [ $1 -ge 0 ]; then
+if [ $1 -eq 0 ]; then
        #
        # stop pl_sshd, remove it from rcX.d init dirs, remove link
        # to sshd's pam config