[Debian-l10n-commits] [ddtp] branch master updated (05a36bd -> a28ec68)

Martijn van Oosterhout kleptog-guest at alioth.debian.org
Sat Sep 14 08:46:23 UTC 2013


This is an automated email from the git hooks/post-receive script.

kleptog-guest pushed a change to branch master
in repository ddtp.

      from  05a36bd   Add language 'el'
       new  a28ec68   Bugfix to make it more robust against changes in the source directory.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.


Summary of changes:
 file2Translation.sh |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/file2Translation.sh b/file2Translation.sh
index f903ac0..1c7228e 100755
--- a/file2Translation.sh
+++ b/file2Translation.sh
@@ -9,16 +9,20 @@ LANGS=`psql ddtp -q -A -t -c "select distinct language from translation_tb where
 #DISTS="squeeze sid"
 #DISTS="wheezy sid"
 DISTS="jessie sid"
-
+date
+echo "Downloading package lists from http://ftp-master.debian.org/i18n/ ..."
 mkdir -p packagelist
 cd packagelist
-for distribution in $DISTS squeeze md5sum timestamp timestamp.gpg
+wget -q -m -nd http://ftp-master.debian.org/i18n/md5sum || \
+	echo "failed to wget http://ftp-master.debian.org/i18n/md5sum"
+for distribution in $(cut -c33- < md5sum)
 do
+	echo "  $distribution"
 	rm -f $distribution
 	wget -q -m -nd http://ftp-master.debian.org/i18n/$distribution || \
 		echo "failed to wget http://ftp-master.debian.org/i18n/$distribution"
 done
-md5sum --check --quiet md5sum
+md5sum --check md5sum
 cd ..
 
 rm -rf Translation-files_new

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-l10n/ddtp.git



More information about the Debian-l10n-commits mailing list