X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.unchecked;h=3db413e5af532885ad8a027daf7fca57250fa83f;hb=2f2fe3780008c837ff2951b276653f74ad75cf8b;hp=d3e07e158a7b3453a14874d0266200d77190aed0;hpb=a4eef13f8450fe8b109f4fafc074d50f0fda0a7c;p=dak.git diff --git a/config/debian/cron.unchecked b/config/debian/cron.unchecked index d3e07e15..3db413e5 100755 --- a/config/debian/cron.unchecked +++ b/config/debian/cron.unchecked @@ -18,6 +18,7 @@ # exit on errors set -e +set -o pipefail # make sure to only use defined variables set -u # ERR traps should be inherited from functions too. (And command @@ -97,7 +98,12 @@ trap cleanup 0 pg_timestamp preunchecked >/dev/null -do_newstage + +# Process policy queues +punew proposedupdates +opunew oldproposedupdates + +# Finally deal with unchecked do_unchecked if [ ! -z "$changes" ]; then