From: Ian Jackson Date: Mon, 7 Nov 2016 20:51:12 +0000 (+0000) Subject: dgit: aptget: un-disable cache clean X-Git-Tag: archive/debian/2.10~15 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=commitdiff_plain;h=6f4ecf492c297aa6a1f0c2b2652225cd40ce72be;ds=sidebyside dgit: aptget: un-disable cache clean Have fudged it to see what it did, and it seems to work. Signed-off-by: Ian Jackson --- diff --git a/dgit b/dgit index 74de9af1..b7e7f7eb 100755 --- a/dgit +++ b/dgit @@ -1164,7 +1164,7 @@ sub aptget_aptcache () { return @aptcache, qw(-c), $aptget_configpath; } sub aptget_cache_clean { runcmd_ordryrun_local qw(sh -ec), - 'cd "$1"; pwd; find -atime +30 -type f -print0 | xargs -0r echo rm --', + 'cd "$1"; find -atime +30 -type f -print0 | xargs -0r rm --', 'x', $aptget_base; }