From 6e58d286d2ac381e4380ce7424ee17404884d119 Mon Sep 17 00:00:00 2001 From: intrigeri Date: Sun, 25 Nov 2007 17:17:55 +0000 Subject: [PATCH] fix duplicity version test git-svn-id: http://code.autistici.org/svn/backupninja/trunk@523 758a04ac-41e6-0310-8a23-8373a73cc35d --- handlers/dup.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers/dup.in b/handlers/dup.in index 9848cbc..4b286a3 100644 --- a/handlers/dup.in +++ b/handlers/dup.in @@ -89,7 +89,7 @@ scpoptions="$sshoptions" execstr="$options --no-print-statistics " # < 0.4.2 : only uses ssh and scp -if [ "$duplicity_major" -le 0 -a "$duplicity_minor" -le 4 -a "$duplicity_sub" -le 2 ]; then +if [ "$duplicity_major" -le 0 -a "$duplicity_minor" -le 4 -a "$duplicity_sub" -lt 2 ]; then execstr="$execstr --scp-command 'scp $scpoptions' --ssh-command 'ssh $sshoptions' " # >= 0.4.2 : also uses sftp, --sftp-command option is now supported else -- 2.30.2