chiark / gitweb /
dgit: aptget: un-disable cache clean
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 7 Nov 2016 20:51:12 +0000 (20:51 +0000)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Mon, 7 Nov 2016 20:51:13 +0000 (20:51 +0000)
Have fudged it to see what it did, and it seems to work.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
dgit

diff --git a/dgit b/dgit
index 74de9af..b7e7f7e 100755 (executable)
--- 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;
 }