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

fix duplicity version test

parent c8e983a5
No related branches found
No related tags found
No related merge requests found
...@@ -89,7 +89,7 @@ scpoptions="$sshoptions" ...@@ -89,7 +89,7 @@ scpoptions="$sshoptions"
execstr="$options --no-print-statistics " execstr="$options --no-print-statistics "
# < 0.4.2 : only uses ssh and scp # < 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' " execstr="$execstr --scp-command 'scp $scpoptions' --ssh-command 'ssh $sshoptions' "
# >= 0.4.2 : also uses sftp, --sftp-command option is now supported # >= 0.4.2 : also uses sftp, --sftp-command option is now supported
else else
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment