stage $GO
GO=(
- FUNC="pgdump_pre"
+ FUNC="pg_timestamp"
TIME="pg_dump1"
- ARGS=""
+ ARGS="predinstall"
ERR=""
)
stage $GO
lockfile "$LOCK_ACCEPTED"
lockfile "$LOCK_NEW"
+GO=(
+ FUNC="punew"
+ TIME="p-u-new"
+ ARGS="proposedupdates"
+ ERR="false"
+)
+stage $GO
+
GO=(
FUNC="newstage"
TIME="newstage"
)
stage $GO
-GO=(
- FUNC="mkuploaders"
- TIME="mkuploaders"
- ARGS=""
- ERR=""
-)
-stage $GO
-
GO=(
FUNC="copyoverrides"
TIME="copyoverrides"
state "postlock"
GO=(
- FUNC="pgdump_post"
- TIME="pg_dump2"
+ FUNC="changelogs"
+ TIME="changelogs"
ARGS=""
+ ERR="false"
+)
+stage $GO &
+
+GO=(
+ FUNC="pg_timestamp"
+ TIME="pg_dump2"
+ ARGS="postdinstall"
ERR=""
)
stage $GO &
rm -f "${LOCK_BRITNEY}"
GO=(
- FUNC="compress"
- TIME="compress"
+ FUNC="cleantransactions"
+ TIME=""
ARGS=""
ERR=""
)
# )
# stage $GO
+# we need to wait for the background processes before the end of dinstall
+wait
+
log "Daily cron scripts successful, all done"
exec > "$logdir/afterdinstall.log" 2>&1