add some comments, background some more.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
ARGS=""
ERR=""
)
+# disabled until p-u is faster than now. it runs often enough, so wont hurt to save
+# the time here.
#stage $GO
GO=(
ARGS=""
ERR=""
)
-stage $GO
+stage $GO &
GO=(
FUNC="mpfm"
ARGS=""
ERR="false"
)
-stage $GO
+stage $GO &
GO=(
FUNC="packages"
ARGS=""
ERR=""
)
+# Careful: When we ever go and remove this monster-long thing, we have to check the backgrounded
+# functions before it. We no longer have a 1.5hour sync point then.
stage $GO
GO=(
ARGS=""
ERR="false"
)
-stage $GO
+stage $GO &
GO=(
FUNC="i18n2"
ARGS=""
ERR="false"
)
-stage $GO
+stage $GO &
GO=(
FUNC="stats"
ARGS=""
ERR="false"
)
-stage $GO
+stage $GO &
-rm -f ${LOCK_BRITNEY}
+rm -f "${LOCK_BRITNEY}"
GO=(
FUNC="pgdakdev"
# the actual unchecked functions follow #
########################################################################
+# And use one locale, no matter what the caller has set
+export LANG=C
+export LC_ALL=C
+
#lockfile -r3 "$LOCK_NEW"
# acceptnew
#rm -f "$LOCK_NEW"