X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fbackports%2Fcron.dinstall;h=4d3bef8fbb6553e72a1229b36c1f61985b8f66a0;hb=077bf03c4495465e28388f52e471877b7afa821a;hp=5b03527917b3c669aa5565da4844a702a42e6813;hpb=a8c91601641c5ae0fee611869c2cd742195a1d9f;p=dak.git diff --git a/config/backports/cron.dinstall b/config/backports/cron.dinstall index 5b035279..4d3bef8f 100755 --- a/config/backports/cron.dinstall +++ b/config/backports/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 @@ -179,9 +180,9 @@ GO=( stage $GO GO=( - FUNC="pgdump_pre" + FUNC="pg_timestamp" TIME="pg_dump1" - ARGS="" + ARGS="predinstall" ERR="" ) stage $GO @@ -231,13 +232,13 @@ GO=( ) stage $GO -# GO=( -# FUNC="fingerprints" -# TIME="import-keyring" -# ARGS="" -# ERR="false" -# ) -# stage $GO +GO=( + FUNC="fingerprints" + TIME="import-keyring" + ARGS="" + ERR="false" +) +stage $GO GO=( FUNC="overrides" @@ -308,14 +309,6 @@ GO=( ) stage $GO -GO=( - FUNC="mkuploaders" - TIME="mkuploaders" - ARGS="" - ERR="" -) -stage $GO - GO=( FUNC="copyoverrides" TIME="copyoverrides" @@ -364,9 +357,9 @@ GO=( stage $GO & GO=( - FUNC="pgdump_post" + FUNC="pg_timestamp" TIME="pg_dump2" - ARGS="" + ARGS="postdinstall" ERR="" ) stage $GO & @@ -377,7 +370,7 @@ GO=( ARGS="" ERR="" ) -stage $GO & +#stage $GO & # GO=( # FUNC="dm" @@ -406,8 +399,8 @@ stage $GO & rm -f "${LOCK_BRITNEY}" GO=( - FUNC="compress" - TIME="compress" + FUNC="cleantransactions" + TIME="" ARGS="" ERR="" )