X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fcron.dinstall;h=4e8c1f2849bc73f1c42e12560710f1f311ed5277;hb=704479b16c0ad29ae2eaa41855f52a623dac1761;hp=3d573b5bead39a010c1378bb5e75492be31b5656;hpb=c9ca62268c8358315ba45818291c9b0fdc475a2d;p=dak.git diff --git a/config/debian/cron.dinstall b/config/debian/cron.dinstall index 3d573b5b..4e8c1f28 100755 --- a/config/debian/cron.dinstall +++ b/config/debian/cron.dinstall @@ -74,6 +74,8 @@ function stage() { error=${ERR:-"true"} ARGS=${ARGS:-""} + + log "########## DINSTALL BEGIN: ${FUNC} ${ARGS} ##########" STAGEFILE="${stagedir}/${FUNC}_${ARGS}" STAGEFILE=${STAGEFILE// /_} if [ -f "${STAGEFILE}" ]; then @@ -132,6 +134,8 @@ function stage() { cat "${STAGEFILE}.log" >> "${LOGFILE}" rm -f "${STAGEFILE}.log" + echo "########## DINSTALL END: ${FUNC} ##########" + if [ -f "${LOCK_STOP}" ]; then log "${LOCK_STOP} exists, exiting immediately" exit 42