]> git.decadent.org.uk Git - dak.git/commitdiff
i18n fixups
authorJoerg Jaspert <joerg@debian.org>
Sun, 22 Jan 2012 16:01:32 +0000 (17:01 +0100)
committerJoerg Jaspert <joerg@debian.org>
Sun, 22 Jan 2012 16:01:32 +0000 (17:01 +0100)
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 <joerg@debian.org>
config/debian/dinstall.functions

index ebd2b69269dfd2f4f8b4f32b88f2a51a90ed00b9..f4a23fbc85656c5ac0ed4718523a844595774dc5 100644 (file)
@@ -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
 }