summaryrefslogtreecommitdiff
path: root/debian/openssh-client.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/openssh-client.postinst')
-rw-r--r--debian/openssh-client.postinst2
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/openssh-client.postinst b/debian/openssh-client.postinst
index 3e33aeb82..cff282d70 100644
--- a/debian/openssh-client.postinst
+++ b/debian/openssh-client.postinst
@@ -42,7 +42,7 @@ create_alternatives() {
42 update-alternatives --quiet --remove rcp /usr/bin/ssh 42 update-alternatives --quiet --remove rcp /usr/bin/ssh
43 for cmd in rsh rlogin rcp; do 43 for cmd in rsh rlogin rcp; do
44 scmd="s${cmd#r}" 44 scmd="s${cmd#r}"
45 if ! update-alternatives --display "$cmd" | \ 45 if ! update-alternatives --display "$cmd" 2>/dev/null | \
46 grep -q "$scmd"; then 46 grep -q "$scmd"; then
47 update-alternatives --quiet --install "/usr/bin/$cmd" "$cmd" "/usr/bin/$scmd" 20 \ 47 update-alternatives --quiet --install "/usr/bin/$cmd" "$cmd" "/usr/bin/$scmd" 20 \
48 --slave "/usr/share/man/man1/$cmd.1.gz" "$cmd.1.gz" "/usr/share/man/man1/$scmd.1.gz" 48 --slave "/usr/share/man/man1/$cmd.1.gz" "$cmd.1.gz" "/usr/share/man/man1/$scmd.1.gz"