From 96523cd1f65d436a964dc30e986037ab0bc51719 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Mon, 3 Nov 2014 20:29:40 +0000 Subject: Assume that dpkg-statoverride exists and drop the test for an obsolete compatibility path. --- debian/openssh-client.postinst | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'debian/openssh-client.postinst') 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() { if ! getent group ssh >/dev/null; then addgroup --system --quiet ssh fi - if ! [ -x /usr/sbin/dpkg-statoverride ] || \ - ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null ; then + if ! dpkg-statoverride --list /usr/bin/ssh-agent >/dev/null; then chgrp ssh /usr/bin/ssh-agent chmod 2755 /usr/bin/ssh-agent fi -- cgit v1.2.3