diff options
Diffstat (limited to 'debian/config')
-rw-r--r-- | debian/config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/config b/debian/config index ea737a081..b5cff528c 100644 --- a/debian/config +++ b/debian/config | |||
@@ -3,7 +3,7 @@ | |||
3 | action=$1 | 3 | action=$1 |
4 | version=$2 | 4 | version=$2 |
5 | 5 | ||
6 | if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then | 6 | if [ -d /etc/ssh-nonfree ] && [ ! -d /etc/ssh ]; then |
7 | version=1.2.27 | 7 | version=1.2.27 |
8 | cp -a /etc/ssh-nonfree /etc/ssh | 8 | cp -a /etc/ssh-nonfree /etc/ssh |
9 | fi | 9 | fi |
@@ -30,7 +30,7 @@ else | |||
30 | db_fset ssh/use_old_init_script seen true | 30 | db_fset ssh/use_old_init_script seen true |
31 | fi | 31 | fi |
32 | 32 | ||
33 | if [ -z "$version" -a ! -e /etc/ssh/sshd_config ] | 33 | if [ -z "$version" ] && [ ! -e /etc/ssh/sshd_config ] |
34 | then | 34 | then |
35 | db_input medium ssh/protocol2_only || true | 35 | db_input medium ssh/protocol2_only || true |
36 | fi | 36 | fi |