# Cleanup actions
function cleanup() {
savelog -c ${LOGROTATE} -j "$LOGFILE"
+ rm -f ${LOCK_DAILY}
}
# Setup the notice file to tell bad mirrors they used the wrong time
# We need logs.
LOGFILE="$logdir/dinstall.log"
-exec > "$LOGFILE" 2>&1
+exec >> "$LOGFILE" 2>&1
# usually we are not using debug logs. Set to 1 if you want them.
DEBUG=0
FUNC="updates"
TIME="External Updates"
ARGS=""
- ERR=""
+ ERR="false"
)
stage $GO