aboutsummaryrefslogtreecommitdiff
path: root/handlers
diff options
context:
space:
mode:
Diffstat (limited to 'handlers')
-rw-r--r--handlers/dup.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/handlers/dup.in b/handlers/dup.in
index a67848f..1ce7710 100644
--- a/handlers/dup.in
+++ b/handlers/dup.in
@@ -191,7 +191,9 @@ else
fi
### Cleanup options
-execstr_options="${execstr_options} --extra-clean"
+if [ "$duplicity_major" -le 0 -a "$duplicity_minor" -le 6 -a "$duplicity_sub" -le 19 ]; then
+ execstr_options="${execstr_options} --extra-clean"
+fi
### Temporary directory
if [ -n "$tmpdir" ]; then