From: Mark Hymers Date: Fri, 8 Aug 2008 02:21:35 +0000 (+0000) Subject: indicate to britney whether or not the Packages update was successful X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a083be164c082834f573c3d7be2be8fa52291c27;p=dak indicate to britney whether or not the Packages update was successful Signed-off-by: Mark Hymers --- diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index b8b25d7a..7710ebd3 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -24,6 +24,7 @@ TS=0 NOTICE="$ftpdir/Archive_Maintenance_In_Progress" LOCKCU="$lockdir/daily.lock" LOCKAC="$lockdir/unchecked.lock" +BRITNEYLOCK="$lockdir/britney.lock" lockac=0 cleanup() { @@ -37,6 +38,11 @@ cleanup() { lockfile -l 3600 $LOCKCU trap cleanup 0 +# This file is simply used to indicate to britney whether or not +# the Packages file updates completed sucessfully. It's not a lock +# from our point of view +touch ${BRITNEYLOCK} + rm -f "$NOTICE" cat > "$NOTICE" <