ARGS=""
ERR="false"
)
-stage $GO &
+stage $GO
GO=(
FUNC="i18n1"
ARGS=""
ERR="false"
)
-stage $GO &
+stage $GO
lockfile "$LOCK_ACCEPTED"
lockfile "$LOCK_NEW"
)
stage $GO
-rm -f "$LOCK_ACCEPTED"
-rm -f "$LOCK_NEW"
-
state "indices"
GO=(
ARGS=""
ERR="false"
)
-stage $GO &
+stage $GO
GO=(
FUNC="overrides"
ARGS=""
ERR="false"
)
-stage $GO &
+stage $GO
state "packages/contents"
GO=(
)
stage $GO
+rm -f "$LOCK_ACCEPTED"
+rm -f "$LOCK_NEW"
rm -f "${LOCK_DAILY}"
ts "locked part finished"
state "postlock"
+GO=(
+ FUNC="changelogs"
+ TIME="changelogs"
+ ARGS=""
+ ERR="false"
+)
+stage $GO &
+
GO=(
FUNC="pgdump_post"
TIME="pg_dump2"
)
stage $GO &
-GO=(
- FUNC="reports"
- TIME="reports"
- ARGS=""
- ERR=""
-)
-stage $GO &
-
GO=(
FUNC="dm"
TIME=""
)
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