mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 04:42:31 +01:00
fix duplicity version test
This commit is contained in:
parent
c8e983a5ba
commit
43ad297700
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user