X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=6704fe4e0fe82393b5b0c895abaecbe7d9b242a0;hb=6e18b0d9c051739fa15d5de4e44def11998653fc;hp=b8b25d7a3d0911b072bb57991ad596825ac03117;hpb=5596929fb40e247919844ccacd6970c20a69339b;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index b8b25d7a..6704fe4e 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" <