Re: New version of /intl/l10n/ pages
Hi,
could a webmaster please replace
/org/www.debian.org/cron/daily_updates/1l10ndata
on www-master.d.o by this new one?
Thanks.
Denis
#!/bin/sh -e
# this file updates the database file used to display l10n stats
. `dirname $0`/../common.sh
cd $crondir/scripts_daily/
# For obvious reasons this file is generated on ftp-master.d.o
wget -q -N http://ftp-master.debian.org/~barbier/l10n/material/data/unstable.gz || { echo "couldn't fetch data/unstable on ftp-master!"; exit 1; }
gunzip -c -f unstable.gz > unstable.ftp-master
# Same for non-US
wget -q -N http://pandora.debian.org/~barbier/l10n/material/data/unstable.gz || { echo "couldn't fetch data/unstable on pandora!"; exit 1; }
gunzip -c -f unstable.gz > unstable.non-US
rm -f unstable.gz
# the appropriate Makefile will do the rest of the work
ln -sf $crondir/scripts_daily/unstable.ftp-master $webtopdir/webwml/english/international/l10n/data/unstable.ftp-master
ln -sf $crondir/scripts_daily/unstable.non-US $webtopdir/webwml/english/international/l10n/data/unstable.non-US
# and extract languages' list
cd $webtopdir/webwml/english/international/l10n
./scripts/list-languages.pl data/unstable.ftp-master data/unstable.non-US > data/langs
echo
Reply to: