X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=6abf1b84f9cec4a033a9c257bb8582d6b2f6c7ba;hb=ea705856aeeb9429b054b7e7ebb8a60f34cac1f6;hp=f7510a3bef7a422616cc7a2c86e2036e08e9f1cf;hpb=e3afeb722a6057e96d646155bfdea066bf2a21bf;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index f7510a3b..6abf1b84 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -542,7 +542,7 @@ function stats() { function cleantransactions() { log "Cleanup transaction ids older than 3 months" cd $base/backup/ - find -maxdepth 1 -mindepth 1 -type f -name 'txid_*' -mtime +90 -print0 | xargs -0 --no-run-if-empty rm + find -maxdepth 1 -mindepth 1 -type f -name 'txid_*' -mtime +90 -delete } function logstats() {