From a083be164c082834f573c3d7be2be8fa52291c27 Mon Sep 17 00:00:00 2001 From: Mark Hymers Date: Fri, 8 Aug 2008 02:21:35 +0000 Subject: [PATCH] indicate to britney whether or not the Packages update was successful Signed-off-by: Mark Hymers --- config/debian/cron.dinstall | 9 +++++++++ 1 file changed, 9 insertions(+) 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" <