Skip to content
Snippets Groups Projects
Commit 43ad2977 authored by intrigeri's avatar intrigeri
Browse files

fix duplicity version test

parent c8e983a5
Branches
Tags
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment