fix duplicity version test
authorintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 25 Nov 2007 17:17:55 +0000 (17:17 +0000)
committerintrigeri <intrigeri@758a04ac-41e6-0310-8a23-8373a73cc35d>
Sun, 25 Nov 2007 17:17:55 +0000 (17:17 +0000)
git-svn-id: http://code.autistici.org/svn/backupninja/trunk@523 758a04ac-41e6-0310-8a23-8373a73cc35d

handlers/dup.in

index 9848cbc024e981acb5b6c0f09ea91e97de0c184d..4b286a36c6003bf301e5e33cc645d549822a24b6 100644 (file)
@@ -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