| 42 |
# previously in parts/1l10ndata, from bouz |
# previously in parts/1l10ndata, from bouz |
| 43 |
cd $crondir/datafiles/ |
cd $crondir/datafiles/ |
| 44 |
echo "updating the database file used to display l10n stats..." >> $crondir/lessoften.log |
echo "updating the database file used to display l10n stats..." >> $crondir/lessoften.log |
| 45 |
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; } |
wget -q -N http://gluck.debian.org/~pmachard/l10n/material/data/unstable.gz || { echo "couldn't fetch data/unstable on gluck!"; exit 1; } |
| 46 |
gunzip -c -f unstable.gz > unstable.ftp-master |
gunzip -c -f unstable.gz > unstable.gluck |
| 47 |
ln -sf $crondir/datafiles/unstable.ftp-master $webtopdir/webwml/english/international/l10n/data/unstable.ftp-master |
ln -sf $crondir/datafiles/unstable.gluck $webtopdir/webwml/english/international/l10n/data/unstable.gluck |
|
|
|
|
echo "updating the non-US database file used to display l10n stats..." >> $crondir/lessoften.log |
|
|
wget -q -N http://non-us.debian.org/~barbier/l10n/material/data/unstable.gz || { echo "couldn't fetch data/unstable on non-us!"; exit 1; } |
|
|
gunzip -c -f unstable.gz > unstable.non-US |
|
|
ln -sf $crondir/datafiles/unstable.non-US $webtopdir/webwml/english/international/l10n/data/unstable.non-US |
|
| 48 |
|
|
| 49 |
# cleanup |
# cleanup |
| 50 |
rm -f unstable.gz |
rm -f unstable.gz |
| 51 |
|
|
| 52 |
echo "extracting the list of languages..." >> $crondir/lessoften.log |
echo "extracting the list of languages..." >> $crondir/lessoften.log |
| 53 |
cd $webtopdir/webwml/english/international/l10n |
cd $webtopdir/webwml/english/international/l10n |
| 54 |
./scripts/list-languages.pl data/unstable.ftp-master data/unstable.non-US > data/langs |
./scripts/list-languages.pl data/unstable.gluck > data/langs |
| 55 |
|
|
| 56 |
# the below scripts will echo what they are doing themselves |
# the below scripts will echo what they are doing themselves |
| 57 |
$crondir/people_scripts/update.packages+sources >> $crondir/lessoften.log |
$crondir/people_scripts/update.packages+sources >> $crondir/lessoften.log |