X-Git-Url: https://git.stderr.nl/gitweb?p=matthijs%2Fupstream%2Fbackupninja.git;a=blobdiff_plain;f=handlers%2Fdup.in;h=c8dfcba6480340122769725e0d23942f1b4ded04;hp=ffae48c1bece695bcd2462f4bcc33e4929d34783;hb=1cd91839c360931fc97bdef0b31d7887218d00ed;hpb=7dce2f1138796cfb78c22a402b6039bdf76d4220 diff --git a/handlers/dup.in b/handlers/dup.in index ffae48c..c8dfcba 100644 --- a/handlers/dup.in +++ b/handlers/dup.in @@ -165,6 +165,11 @@ if [ "$incremental" == "no" ]; then fi fi +### Cleanup options +if [ "$duplicity_major" -ge 0 -a "$duplicity_minor" -ge 6 -a "$duplicity_sub" -ge 1 ]; then + execstr_options="${execstr_options} --extra-clean" +fi + ### Temporary directory precmd= if [ -n "$tmpdir" ]; then