From e27654df5c688988fbab318d735b48f051a3d1f7 Mon Sep 17 00:00:00 2001 From: Alexander Mette Date: Sun, 17 Nov 2013 15:55:05 +0100 Subject: Fix #6357 - Don't remove useful signature files duplicity >=0.6.20 now correctly removes useless signature files and therefore the cache directory doesn't grow infinitely any more. Using --extra-clean removes all signatures except from the last chain and so renders older chains unusable, don't use it by default any more. See: https://bugs.launchpad.net/duplicity/+bug/519948 --- handlers/dup.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3