X-Git-Url: https://git.deb.at/?a=blobdiff_plain;f=cron.d%2F120synctrans;h=c0813c93f5592939e28ce1eb927ca9c6b943ccb6;hb=98d6d4ed5985e22cfe9824fc1203bc08ecb15c9c;hp=5bfd9599b67452147708d787d5778b5f30f67b44;hpb=9083dcf3a523120cfb4cd905d26dada501678aea;p=deb%2Fpackages.git diff --git a/cron.d/120synctrans b/cron.d/120synctrans index 5bfd959..c0813c9 100755 --- a/cron.d/120synctrans +++ b/cron.d/120synctrans @@ -22,7 +22,7 @@ then locale=$(echo $lang|perl -p -e 's/^([a-z]{2})-([a-z]{2})$/"$1_".uc($2)/e') echo "retrieve translated Descs $dist/$part/$lang ($locale)" (cd us/${dist}/${part}/i18n && - $wget_cmd -N ${ddtp_ftpsite}/dists/${dist}/${part}/i18n/Translation-$locale.gz) + $wget_cmd -N ${ddtp_ftpsite}/dists/${dist}/${part}/i18n/Translation-$locale.bz2) done done done @@ -37,9 +37,11 @@ else do locale=$(echo $lang|perl -p -e 's/^([a-z]{2})-([a-z]{2})$/"$1_".uc($2)/e') echo "retrieve translated Descs $dist/$part/$lang ($locale)" - rsync -t ${localdir}/dists/${dist}/${part}/i18n/Translation-$locale.gz \ - us/${dist}/${part}/i18n/Translation-$locale.gz + rsync -t ${localdir}/dists/${dist}/${part}/i18n/Translation-$locale.bz2 \ + us/${dist}/${part}/i18n/Translation-$locale.bz2 done done done fi + +exit 0