From 6858e123497aee69dedce5d22fcacec99c7043b4 Mon Sep 17 00:00:00 2001 From: Colin Watson Date: Sat, 10 Jul 2004 01:03:04 +0000 Subject: Fix bashisms in maintainer scripts (thanks, David Weinehall; partial fix for #258517). --- debian/config | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'debian/config') diff --git a/debian/config b/debian/config index ea737a081..b5cff528c 100644 --- a/debian/config +++ b/debian/config @@ -3,7 +3,7 @@ action=$1 version=$2 -if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then +if [ -d /etc/ssh-nonfree ] && [ ! -d /etc/ssh ]; then version=1.2.27 cp -a /etc/ssh-nonfree /etc/ssh fi @@ -30,7 +30,7 @@ else db_fset ssh/use_old_init_script seen true fi -if [ -z "$version" -a ! -e /etc/ssh/sshd_config ] +if [ -z "$version" ] && [ ! -e /etc/ssh/sshd_config ] then db_input medium ssh/protocol2_only || true fi -- cgit v1.2.3