summaryrefslogtreecommitdiff
path: root/debian/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postinst')
-rw-r--r--debian/postinst2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst
index 294177193..02fda6c1e 100644
--- a/debian/postinst
+++ b/debian/postinst
@@ -53,6 +53,8 @@ set_config_option() {
53 print "\n$option $value\n" unless $done;' \ 53 print "\n$option $value\n" unless $done;' \
54 "$option" "$value" \ 54 "$option" "$value" \
55 < /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new 55 < /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new
56 chown --reference /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-new
57 chmod --reference /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-new
56 mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config 58 mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config
57} 59}
58 60