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

[Git][ftp-team/dak][include-tasks] Use include key instead of runcronscript



Title: GitLab

Bastian Blank pushed to branch include-tasks at Debian FTP Team / dak

Commits:

2 changed files:

Changes:

  • config/debian-security/weekly.tasks
    ... ... @@ -2,5 +2,5 @@
    2 2
     LOCK                   DEPLOY                     600                        shared    false
    
    3 3
     LOCK                   UNCHECKED                  1200                       exclusive false
    
    4 4
     update_releases        none                       none                       true      false
    
    5
    -runcronscript          mirror                     none                       true      true
    
    5
    +INCLUDE                mirror                     none                       true      true
    
    6 6
     linkmorgue             none                       none                       false     true

  • config/debian/common
    ... ... @@ -380,14 +380,6 @@ function mklslar() {
    380 380
         done
    
    381 381
     }
    
    382 382
     
    
    383
    -# Run another cronscript from within cronscript, sick bastard
    
    384
    -function runcronscript() {
    
    385
    -    local script=${1:-}
    
    386
    -    if [[ -n ${script} ]]; then
    
    387
    -        $configdir/cronscript ${script}
    
    388
    -    fi
    
    389
    -}
    
    390
    -
    
    391 383
     function linkmorgue() {
    
    392 384
         ${scriptsdir}/link_morgue.sh
    
    393 385
     }
    


  • Reply to: