From: Joerg Jaspert Date: Sun, 22 Jan 2012 16:01:32 +0000 (+0100) Subject: i18n fixups X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=efba553d4e61481d87f30626ceca2a86d2da5fff;p=dak.git i18n fixups dont delete the en translations when syncing all the other languages generate i18n/Index for all suites we do md5 descs for Signed-off-by: Joerg Jaspert --- diff --git a/config/debian/dinstall.functions b/config/debian/dinstall.functions index ebd2b692..f4a23fbc 100644 --- a/config/debian/dinstall.functions +++ b/config/debian/dinstall.functions @@ -74,7 +74,7 @@ function i18n1() { for dir in wheezy sid; do if [ -d dists/${dir}/ ]; then cd dists/${dir}/main/i18n - rsync -aq --delete --delete-after . ${ftpdir}/dists/${dir}/main/i18n/. + rsync -aq --delete --delete-after --exclude Translation-en.bz2 . ${ftpdir}/dists/${dir}/main/i18n/. fi cd ${scriptdir}/i18nsync done @@ -166,7 +166,12 @@ function pdiff() { function release() { # XXX: disable once we can remove i18n/Index (#649314) log "Generating i18n/Index" - (cd "$ftpdir/dists"; for dist in testing unstable; do $scriptsdir/generate-i18n-Index $dist; done) + ( + cd "$ftpdir/dists"; + for dist in testing unstable experimental proposed-updates testing-proposed-updates; do + $scriptsdir/generate-i18n-Index $dist; + done + ) log "Generating Release files" dak generate-releases }