X-Git-Url: https://git.deb.at/?p=deb%2Fpackages.git;a=blobdiff_plain;f=cron.d%2F120synctrans;h=bd3e31d17dba8239e059f42cce995e952b897323;hp=db71ae454ee1b80b5a4eebf35ec56744f3e1089c;hb=89c17478db69effd1c96f4e284ad46f5b4d72c17;hpb=fe95f8c60871738c82fa264e88072d8fe24e899e diff --git a/cron.d/120synctrans b/cron.d/120synctrans index db71ae4..bd3e31d 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