summaryrefslogtreecommitdiff
path: root/debian/openssh-server.preinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2010-12-30 11:41:09 +0000
committerColin Watson <cjwatson@debian.org>2010-12-30 11:41:09 +0000
commit3e361f96a730f828be7e9b29a778e09350b24c49 (patch)
tree2a02a090ad71825343b1ef44c6d03785f2c98db3 /debian/openssh-server.preinst
parent0b38b9f476db96ecb1ca31da9b8e212f551076bb (diff)
parentecdff7d91e9aa853a0fbdb746a640e497c17056b (diff)
* Merge 1:5.5p1-6.
Diffstat (limited to 'debian/openssh-server.preinst')
-rw-r--r--debian/openssh-server.preinst6
1 files changed, 6 insertions, 0 deletions
diff --git a/debian/openssh-server.preinst b/debian/openssh-server.preinst
index 43c4b57f9..510070645 100644
--- a/debian/openssh-server.preinst
+++ b/debian/openssh-server.preinst
@@ -134,6 +134,12 @@ EOF
134 if dpkg --compare-versions "$version" lt 1:4.7p1-4; then 134 if dpkg --compare-versions "$version" lt 1:4.7p1-4; then
135 prepare_mv_conffile /etc/pam.d/ssh 135 prepare_mv_conffile /etc/pam.d/ssh
136 fi 136 fi
137
138 if dpkg --compare-versions "$version" lt 1:5.5p1-6 && \
139 [ -d /var/run/sshd ]; then
140 # make sure /var/run/sshd is not removed on upgrades
141 touch /var/run/sshd/.placeholder
142 fi
137fi 143fi
138 144
139#DEBHELPER# 145#DEBHELPER#