[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[Git][ftp-team/dak][lockfile] No need for precronscript here anymore



Title: GitLab

Joerg Jaspert pushed to branch lockfile at Debian FTP Team / dak

Commits:

1 changed file:

Changes:

  • config/deploy/deploy.functions
    1 1
     # -*- mode:sh -*-
    
    2 2
     
    
    3
    -function precronscript() {
    
    4
    -    # Do not run when those locks exist
    
    5
    -    if [[ -e ${LOCK_DAILY} ]] || [[ -e ${LOCK_STOP} ]]; then
    
    6
    -        exit 0;
    
    7
    -    fi
    
    8
    -
    
    9
    -    if ! lockfile -r 64 ${LOCK_UNCHECKED} 2> /dev/null; then
    
    10
    -        exit 0
    
    11
    -    fi
    
    12
    -    TMPFILES="${TMPFILES} ${LOCK_UNCHECKED}"
    
    13
    -}
    
    14
    -
    
    15 3
     function fetch_updates() {
    
    16 4
         cd ${masterdir}/
    
    17 5
         local beforefetch=$(git rev-parse HEAD)
    


  • Reply to: