X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=03994aabe6c3a5e593b78010e6a6a3d879595ebe;hb=f8be0477d1df2f519204cdf3f674f7b803fce3cf;hp=d2443f79cea4768d95112d8e9d449e0423c7a68c;hpb=7c1224c91c89cf9aabfc0f4bfc1c1405515e8214;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index d2443f79..03994aab 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -27,6 +27,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 @@ -206,13 +207,12 @@ GO=( stage $GO lockfile "$LOCK_ACCEPTED" -lockfile "$LOCK_NEW" trap remove_all_locks EXIT TERM HUP INT QUIT GO=( FUNC="punew" TIME="p-u-new" - ARGS="proposedupdates" + ARGS="stable-new" ERR="false" ) stage $GO @@ -220,16 +220,16 @@ stage $GO GO=( FUNC="opunew" TIME="o-p-u-new" - ARGS="oldproposedupdates" + ARGS="oldstable-new" ERR="false" ) stage $GO GO=( - FUNC="newstage" - TIME="newstage" + FUNC="backports_policy" + TIME="backports-policy" ARGS="" - ERR="" + ERR="false" ) stage $GO @@ -486,14 +486,6 @@ GO=( ) stage $GO -GO=( - FUNC="aptftpcleanup" - TIME="apt-ftparchive cleanup" - ARGS="" - ERR="false" -) -#stage $GO - # we need to wait for the background processes before the end of dinstall wait