chiark
/
gitweb
/
~ianmdlvl
/
dgit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7967097
)
dgit: aptget: un-disable cache clean
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Nov 2016 20:51:12 +0000
(20:51 +0000)
committer
Ian 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
patch
|
blob
|
history
diff --git
a/dgit
b/dgit
index 74de9af15461c53551d42c0fbabd1cb476de0002..b7e7f7eb6e49ff2585ce465753dea3ae0e8c12f6 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;
}