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

[Git][ftp-team/dak][deploy] 2 commits: Ask dak what the name of testing is currently. It may change.



Title: GitLab

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

Commits:

1 changed file:

Changes:

  • scripts/debian/ddtp-i18n-check.sh
    1 1
     #!/bin/bash
    
    2 2
     #
    
    3 3
     # $Id: ddtp_i18n_check.sh 2535 2011-02-19 14:20:52Z nekral-guest $
    
    4
    -# 
    
    4
    +#
    
    5 5
     # Copyright (C) 2008, 2011 Felipe Augusto van de Wiel <faw@funlabs.org>
    
    6 6
     # Copyright (C) 2008, 2009 Nicolas François <nicolas.francois@centraliens.net>
    
    7 7
     #
    
    ... ... @@ -81,7 +81,8 @@ elif [ ! -d "$PACKAGES_LISTS_DIR" ]; then
    81 81
     fi
    
    82 82
     
    
    83 83
     #STABLE="squeeze"
    
    84
    -TESTING="buster"
    
    84
    +# FIXME: If one wants to, give dak admin an option to only output wanted value.
    
    85
    +TESTING=$(dak admin s show testing|awk -F ':' '/Codename/ {gsub(/ /, "", $2); print $2}')
    
    85 86
     UNSTABLE="sid"
    
    86 87
     
    
    87 88
     # Original SHA256SUMS, generated by i18n.debian.net
    
    ... ... @@ -132,7 +133,7 @@ is_filename_okay () {
    132 133
     	return 1
    
    133 134
     }
    
    134 135
     
    
    135
    -# Check a directory name against a directory whitelist 
    
    136
    +# Check a directory name against a directory whitelist
    
    136 137
     is_dirname_okay () {
    
    137 138
     	ido_dir="$1"
    
    138 139
     
    
    ... ... @@ -407,4 +408,3 @@ echo "$dists_parent_dir structure validated successfully ($(date +%c))"
    407 408
     # If we reach this point, everything went fine.
    
    408 409
     trap - EXIT
    
    409 410
     rm -rf "$TMP_WORK_DIR"
    410
    -


  • Reply to: