X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=8a5ec24e32c8ed8b12b18973221fba3519d26f9b;hb=438caaddbc1b10b52a19731ca01249cb6683bfc1;hp=2ace6eb4bc5f32760131ca51dca81366a18a968c;hpb=9e91895c9821d38c654a8666c1f18af2b6729d33;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 2ace6eb4..8a5ec24e 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -402,7 +402,7 @@ function mirrorpush() { # match. continue fi - broken=$(( broken + 1 )) + broken=$(( broken + 1 )) echo "File ${subdir}/${NAME} is missing" continue fi @@ -444,9 +444,12 @@ function i18n2() { STAMP=$(date "+%Y%m%d%H%M") mkdir -p ${scriptdir}/i18n/${STAMP} cd ${scriptdir}/i18n/${STAMP} - dak control-suite -l stable > squeeze - dak control-suite -l testing > wheezy - dak control-suite -l unstable > sid + for suite in stable testing unstable; do + codename=$(dak admin s show ${suite}|grep '^Codename') + codename=${codename##* } + echo "Codename is ${codename}" + dak control-suite -l ${suite} >${codename} + done echo "${STAMP}" > timestamp gpg --secret-keyring /srv/ftp-master.debian.org/s3kr1t/dot-gnupg/secring.gpg --keyring /srv/ftp-master.debian.org/s3kr1t/dot-gnupg/pubring.gpg --no-options --batch --no-tty --armour --default-key 55BE302B --detach-sign -o timestamp.gpg timestamp rm -f md5sum