diff options
Diffstat (limited to 'debian/openssh-server.preinst')
-rw-r--r-- | debian/openssh-server.preinst | 6 |
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 | ||
137 | fi | 143 | fi |
138 | 144 | ||
139 | #DEBHELPER# | 145 | #DEBHELPER# |