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

[Git][ftp-team/dak][master] dep11: skip non-existing directories



Title: GitLab

Ansgar pushed to branch master at Debian FTP Team / dak

Commits:

  • 09c13f37
    by Ansgar at 2023-01-24T19:25:58+01:00
    dep11: skip non-existing directories
    
    Closes: #1029497
    

1 changed file:

Changes:

  • config/debian/dinstall.functions
    ... ... @@ -106,6 +106,9 @@ function dep11() {
    106 106
             for dir in ${extimportdists}; do
    
    107 107
                 if [[ -d ${dir}/  ]]; then
    
    108 108
                     for comp in main contrib non-free non-free-firmware; do
    
    109
    +                    if ! [[ -d ${dir}/${comp} ]]; then
    
    110
    +                        continue
    
    111
    +                    fi
    
    109 112
                         mkdir -p ${ftpdir}/dists/${dir}/${comp}/dep11
    
    110 113
                         cd ${dir}/${comp}
    
    111 114
                         rsync -rtq --delete --delete-after --exclude by-hash --exclude "./*.tmp" . ${ftpdir}/dists/${dir}/${comp}/dep11/.
    


  • Reply to: