From d6eb86204b75c060cc64d7d6bd7997de658194a3 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sun, 24 Oct 2004 17:04:40 +0000 Subject: Add another missing chown/chmod --reference. --- debian/postinst | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'debian/postinst') diff --git a/debian/postinst b/debian/postinst index 02fda6c1e..9d34d6ad4 100644 --- a/debian/postinst +++ b/debian/postinst @@ -139,6 +139,10 @@ create_sshdconfig() { /etc/ssh/sshd_config > /etc/ssh/sshd_config.dpkg-new echo >> /etc/ssh/sshd_config.dpkg-new echo 'UsePAM yes' >> /etc/ssh/sshd_config.dpkg-new + chown --reference /etc/ssh/sshd_config \ + /etc/ssh/sshd_config.dpkg-new + chmod --reference /etc/ssh/sshd_config \ + /etc/ssh/sshd_config.dpkg-new mv /etc/ssh/sshd_config.dpkg-new /etc/ssh/sshd_config echo fi -- cgit v1.2.3