From d1ee5093b5c708147f5502b592d1c0782b5db5aa Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Sat, 18 Apr 2009 17:28:16 +0100 Subject: [PATCH] automatically clean transitions Signed-off-by: Mark Hymers --- config/debian/cron.dinstall | 14 ++++++++++++++ 1 file changed, 14 insertions(+) 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" -- 2.39.2