summaryrefslogtreecommitdiff
path: root/debian/openssh-client.postinst
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2014-11-03 20:29:40 +0000
committerColin Watson <cjwatson@debian.org>2014-11-03 20:29:40 +0000
commit96523cd1f65d436a964dc30e986037ab0bc51719 (patch)
tree569d217555b7e0dc5323b254edcd3d4020287835 /debian/openssh-client.postinst
parent0836fe77c7a6829363d81a55ca65017f48705325 (diff)
Assume that dpkg-statoverride exists and drop the test for an obsolete compatibility path.
Diffstat (limited to 'debian/openssh-client.postinst')
-rw-r--r--debian/openssh-client.postinst3
1 files changed, 1 insertions, 2 deletions
diff --git a/debian/openssh-client.postinst b/debian/openssh-client.postinst
index 978b04a9b..ec0ad2b2b 100644
--- a/debian/openssh-client.postinst
+++ b/debian/openssh-client.postinst
@@ -28,8 +28,7 @@ set_ssh_agent_permissions() {
28 if ! getent group ssh >/dev/null; then 28 if ! getent group ssh >/dev/null; then
29 addgroup --system --quiet ssh 29 addgroup --system --quiet ssh
30 fi 30 fi
31 if ! [ -x /usr/sbin/dpkg-statoverride ] || \ 31 if ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null; then
32 ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null ; then
33 chgrp ssh /usr/bin/ssh-agent 32 chgrp ssh /usr/bin/ssh-agent
34 chmod 2755 /usr/bin/ssh-agent 33 chmod 2755 /usr/bin/ssh-agent
35 fi 34 fi