From: Mark Hymers Date: Sat, 18 Apr 2009 16:28:16 +0000 (+0100) Subject: automatically clean transitions X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=d1ee5093b5c708147f5502b592d1c0782b5db5aa;p=dak.git automatically clean transitions Signed-off-by: Mark Hymers --- diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 69887795..eb9f37d5 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -269,6 +269,12 @@ function expire() { $scriptsdir/expire_dumps -d . -p -f "dump_*" } +function transitionsclean() { + log "Removing out of date transitions..." + cd $base + dak transitions -c -a +} + function reports() { # Send a report on NEW/BYHAND packages log "Nagging ftpteam about NEW/BYHAND packages" @@ -729,6 +735,14 @@ GO=( ) stage $GO +GO=( + FUNC="transitionsclean" + TIME="transitionsclean" + ARGS="" + ERR="" +) +stage $GO + GO=( FUNC="reports" TIME="reports"