# 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
stage $GO
GO=(
- FUNC="pgdump_pre"
+ FUNC="pg_timestamp"
TIME="pg_dump1"
- ARGS=""
+ ARGS="predinstall"
ERR=""
)
stage $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"
)
stage $GO
-GO=(
- FUNC="mkuploaders"
- TIME="mkuploaders"
- ARGS=""
- ERR=""
-)
-stage $GO
-
GO=(
FUNC="copyoverrides"
TIME="copyoverrides"
stage $GO &
GO=(
- FUNC="pgdump_post"
+ FUNC="pg_timestamp"
TIME="pg_dump2"
- ARGS=""
+ ARGS="postdinstall"
ERR=""
)
stage $GO &
ARGS=""
ERR=""
)
-stage $GO &
+#stage $GO &
# GO=(
# FUNC="dm"
rm -f "${LOCK_BRITNEY}"
GO=(
- FUNC="compress"
- TIME="compress"
+ FUNC="cleantransactions"
+ TIME=""
ARGS=""
ERR=""
)