summaryrefslogtreecommitdiff
path: root/debian/openssh-server.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2006-12-23 11:26:51 +0000
committerColin Watson <cjwatson@debian.org>2006-12-23 11:26:51 +0000
commit309e8aeed9f3d4b7b5e9ad7089889533023b6e73 (patch)
treeb8df3c9083e155456eda8f453dc6587372e57d32 /debian/openssh-server.postinst
parent016af70d693e389b81ae849df2876613ce14627d (diff)
fix disable_config_option to actually work
Diffstat (limited to 'debian/openssh-server.postinst')
-rw-r--r--debian/openssh-server.postinst1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/openssh-server.postinst b/debian/openssh-server.postinst
index ee660165e..443c567ee 100644
--- a/debian/openssh-server.postinst
+++ b/debian/openssh-server.postinst
@@ -89,6 +89,7 @@ disable_config_option() {
89 } 89 }
90 print; 90 print;
91 }' \ 91 }' \
92 "$option" \
92 < /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new 93 < /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new
93 chown --reference /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-new 94 chown --reference /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-new
94 chmod --reference /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-new 95 chmod --reference /etc/ssh/sshd_config /etc/ssh/sshd_config.dpkg-new