From 243c99ff0d74d4bf4bcf8ca6dea95286bdda2c0a Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Wed, 22 May 2013 00:41:15 +0100 Subject: Add #DEBHELPER# tokens to openssh-client.postinst and openssh-server.postinst. --- debian/openssh-client.postinst | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'debian/openssh-client.postinst') diff --git a/debian/openssh-client.postinst b/debian/openssh-client.postinst index d752d01c9..85cedc406 100644 --- a/debian/openssh-client.postinst +++ b/debian/openssh-client.postinst @@ -5,11 +5,6 @@ oldversion="$2" umask 022 -if [ "$action" != configure ] - then - exit 0 -fi - create_alternatives() { # Create alternatives for the various r* tools. @@ -40,7 +35,11 @@ set_ssh_agent_permissions() { } -create_alternatives -set_ssh_agent_permissions +if [ "$action" = configure ]; then + create_alternatives + set_ssh_agent_permissions +fi + +#DEBHELPER# exit 0 -- cgit v1.2.3