X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=config%2Fdebian%2Fdinstall.functions;h=b7679dcfa50edd7b59abf82813ce9a0499f4410a;hb=e13fd3c48245d48b0335649d294aacaee666bab5;hp=58f8ddb1ce02c7317acbf03ce9e2b42f10714100;hpb=86e42f45e177df65e5a71352b55b911a7bca6153;p=dak.git diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index 58f8ddb1..b7679dcf 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -152,8 +152,6 @@ function mpfm() { function packages() { log "Generating Packages and Sources files" - #cd $configdir - #dak generate-packages-sources dak generate-packages-sources2 dak contents generate } @@ -234,7 +232,7 @@ function mkmaintainers() { function copyoverrides() { log 'Copying override files into public view ...' - for ofile in ${overridedir}/override.{lenny,squeeze,wheezy,sid}.{,extra.}{main,contrib,non-free}*; do + for ofile in ${overridedir}/override.{squeeze,wheezy,sid}.{,extra.}{main,contrib,non-free}*; do bname=${ofile##*/} gzip -9cv --rsyncable ${ofile} > ${indices}/${bname}.gz chmod g+w ${indices}/${bname}.gz @@ -404,7 +402,7 @@ function mirrorpush() { # match. continue fi - broken=$(( broken + 1 )) + broken=$(( broken + 1 )) echo "File ${subdir}/${NAME} is missing" continue fi @@ -446,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