summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst.in
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.postinst.in')
-rw-r--r--debian/openssh-server.postinst.in10
1 files changed, 0 insertions, 10 deletions
diff --git a/debian/openssh-server.postinst.in b/debian/openssh-server.postinst.in
index 9aa568292..9869c9b48 100644
--- a/debian/openssh-server.postinst.in
+++ b/debian/openssh-server.postinst.in
@@ -440,13 +440,6 @@ setup_init() {
440 esac 440 esac
441} 441}
442 442
443commit_transfer_conffile () {
444 CONFFILE="$1"
445 if [ -e "$CONFFILE.moved-by-preinst" ]; then
446 rm -f "$CONFFILE.moved-by-preinst"
447 fi
448}
449
450commit_mv_conffile () { 443commit_mv_conffile () {
451 OLDCONFFILE="$1" 444 OLDCONFFILE="$1"
452 NEWCONFFILE="$2" 445 NEWCONFFILE="$2"
@@ -477,9 +470,6 @@ if dpkg --compare-versions "$2" lt 1:5.2p1-1; then
477 remove_old_init_links 470 remove_old_init_links
478fi 471fi
479setup_init 472setup_init
480commit_transfer_conffile /etc/default/ssh
481commit_transfer_conffile /etc/init.d/ssh
482commit_transfer_conffile /etc/pam.d/ssh
483commit_mv_conffile /etc/pam.d/ssh /etc/pam.d/sshd 473commit_mv_conffile /etc/pam.d/ssh /etc/pam.d/sshd
484# Renamed to /etc/ssh/moduli in 2.9.9 (!) 474# Renamed to /etc/ssh/moduli in 2.9.9 (!)
485if dpkg --compare-versions "$2" lt 1:4.7p1-1; then 475if dpkg --compare-versions "$2" lt 1:4.7p1-1; then