diff options
author | Colin Watson <cjwatson@debian.org> | 2004-10-24 17:04:40 +0000 |
---|---|---|
committer | Colin Watson <cjwatson@debian.org> | 2004-10-24 17:04:40 +0000 |
commit | d6eb86204b75c060cc64d7d6bd7997de658194a3 (patch) | |
tree | 860b1032a42c8f9c462b90f496f851c1e61921ce /debian/postinst | |
parent | e1415627be26d2b0a04439c6a891a113fa6138d1 (diff) |
Add another missing chown/chmod --reference.
Diffstat (limited to 'debian/postinst')
-rw-r--r-- | debian/postinst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/postinst b/debian/postinst index 02fda6c1e..9d34d6ad4 100644 --- a/debian/postinst +++ b/debian/postinst | |||
@@ -139,6 +139,10 @@ create_sshdconfig() { | |||
139 | /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new | 139 | /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new |
140 | echo >> /etc/ssh/sshd_config.dpkg-new | 140 | echo >> /etc/ssh/sshd_config.dpkg-new |
141 | echo 'UsePAM yes' >> /etc/ssh/sshd_config.dpkg-new | 141 | echo 'UsePAM yes' >> /etc/ssh/sshd_config.dpkg-new |
142 | chown --reference /etc/ssh/sshd_config \ | ||
143 | /etc/ssh/sshd_config.dpkg-new | ||
144 | chmod --reference /etc/ssh/sshd_config \ | ||
145 | /etc/ssh/sshd_config.dpkg-new | ||
142 | mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config | 146 | mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config |
143 | echo | 147 | echo |
144 | fi | 148 | fi |