Verified Commit 52596bd8 authored by Joerg Jaspert's avatar Joerg Jaspert 🇩🇪

Do not deploy when unchecked or dinstall runs or archive is stopped

parent a2332579
# -*- mode:sh -*-
function precronscript() {
# Do not run when those locks exist
if [[ -e ${LOCK_DAILY} ]] || [[ -e ${LOCK_STOP} ]]; then
exit 0;
fi
if ! lockfile -r 64 ${LOCK_UNCHECKED} 2> /dev/null; then
exit 0
fi
TMPFILES="${TMPFILES} ${LOCK_UNCHECKED}"
}
function fetch_updates() {
cd ${masterdir}/
local beforefetch=$(git rev-parse HEAD)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment