summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst10
1 files changed, 10 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index 2d7dbc9ea..4e91098df 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -332,6 +332,13 @@ setup_init() {
332 fi 332 fi
333} 333}
334 334
335commit_transfer_conffile () {
336 CONFFILE="$1"
337 if [ -e "$CONFFILE.moved-by-preinst" ]; then
338 rm -f "$CONFFILE.moved-by-preinst"
339 fi
340}
341
335 342
336fix_doc_symlink 343fix_doc_symlink
337create_sshdconfig 344create_sshdconfig
@@ -346,6 +353,9 @@ if dpkg --compare-versions "$2" lt 1:3.6.1p2-2; then
346 fix_conffile_permissions 353 fix_conffile_permissions
347fi 354fi
348setup_init 355setup_init
356commit_transfer_conffile /etc/default/ssh
357commit_transfer_conffile /etc/init.d/ssh
358commit_transfer_conffile /etc/pam.d/ssh
349 359
350 360
351db_stop 361db_stop