- hmm, looks like upgrade never worked for pl_sshd. RPM installs, then
authorMark Huang <mlhuang@cs.princeton.edu>
Sat, 11 Sep 2004 21:42:17 +0000 (21:42 +0000)
committerMark Huang <mlhuang@cs.princeton.edu>
Sat, 11 Sep 2004 21:42:17 +0000 (21:42 +0000)
  erases, when upgrading, so only wipe out our /etc changes if we're
  actually erasing and not upgrading.

pl_sshd.spec

index 9898a8e..deb6d34 100644 (file)
@@ -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