From: Mark Huang Date: Sat, 11 Sep 2004 21:42:17 +0000 (+0000) Subject: - hmm, looks like upgrade never worked for pl_sshd. RPM installs, then X-Git-Tag: pl_sshd-1_0-5_planetlab~4 X-Git-Url: http://git.onelab.eu/?p=pl_sshd.git;a=commitdiff_plain;h=3ee2fd013c1eca5d34a9e3fd08ef4ffb4fc94f34 - hmm, looks like upgrade never worked for pl_sshd. RPM installs, then erases, when upgrading, so only wipe out our /etc changes if we're actually erasing and not upgrading. --- diff --git a/pl_sshd.spec b/pl_sshd.spec index 9898a8e..deb6d34 100644 --- a/pl_sshd.spec +++ b/pl_sshd.spec @@ -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