summaryrefslogtreecommitdiff
path: root/debian/config
diff options
context:
space:
mode:
Diffstat (limited to 'debian/config')
-rw-r--r--debian/config4
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 @@
3action=$1 3action=$1
4version=$2 4version=$2
5 5
6if [ -d /etc/ssh-nonfree -a ! -d /etc/ssh ]; then 6if [ -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
9fi 9fi
@@ -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
31fi 31fi
32 32
33if [ -z "$version" -a ! -e /etc/ssh/sshd_config ] 33if [ -z "$version" ] && [ ! -e /etc/ssh/sshd_config ]
34then 34then
35 db_input medium ssh/protocol2_only || true 35 db_input medium ssh/protocol2_only || true
36fi 36fi