summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2011-04-04 15:55:56 +0100
committerColin Watson <cjwatson@debian.org>2011-04-04 15:55:56 +0100
commit6ade9b5028edb7f1387449c6124ff4229543b8bf (patch)
tree0fd5a72ab45e8d4a0d47ac4d837b0128d953cf66
parentdb1d7efa461f51dc2880dfecab54f57db327564a (diff)
Remove unreachable code from openssh-server.postinst.
-rw-r--r--debian/changelog1
-rw-r--r--debian/openssh-server.postinst5
2 files changed, 1 insertions, 5 deletions
diff --git a/debian/changelog b/debian/changelog
index 9065c08ca..c44380b1a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ openssh (1:5.8p1-4) UNRELEASED; urgency=low
3 * Drop hardcoded dependencies on libssl0.9.8 and libcrypto0.9.8-udeb, 3 * Drop hardcoded dependencies on libssl0.9.8 and libcrypto0.9.8-udeb,
4 since the required minimum versions are rather old now anyway and 4 since the required minimum versions are rather old now anyway and
5 openssl has bumped its SONAME (thanks, Julien Cristau; closes: #620828). 5 openssl has bumped its SONAME (thanks, Julien Cristau; closes: #620828).
6 * Remove unreachable code from openssh-server.postinst.
6 7
7 -- Colin Watson <cjwatson@debian.org> Mon, 04 Apr 2011 15:44:29 +0100 8 -- Colin Watson <cjwatson@debian.org> Mon, 04 Apr 2011 15:44:29 +0100
8 9
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 5c4c79d5c..cf3fa68ea 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -288,11 +288,6 @@ create_sshdconfig() {
288 return 0 288 return 0
289 fi 289 fi
290 290
291 #Preserve old sshd_config before generating a new one
292 if [ -e /etc/ssh/sshd_config ] ; then
293 mv /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-old
294 fi
295
296 cat <<EOF > /etc/ssh/sshd_config 291 cat <<EOF > /etc/ssh/sshd_config
297# Package generated configuration file 292# Package generated configuration file
298# See the sshd_config(5) manpage for details 293# See the sshd_config(5) manpage for details