Bug#225795: www.debian.org/international/l10n/po-debconf/xx is not updated now.
On Fri, Jan 02, 2004 at 03:18:24AM +0900, Hideki Yamane wrote:
> Package: www.debian.org
> Severity: important
>
> Hi webmasters,
>
> http://www.debian.org/international/l10n/po-debconf/ja is updated 19th
> Nov 2003, about 1.5 months ago.
>
> I want to know newest info about po-debconf translations.
Josip, any idea when the lessoften script will run again?
As I did not yet request access to non-us, the following patch should be
applied to prevent a premature end of execution.
BTW http://people.debian.org/~barbier/intl/l10n/po-debconf/ja/
contains up-to-date stats.
Denis
--- lessoften.orig 2004-01-06 00:39:13.000000000 +0200
+++ lessoften 2004-01-06 00:44:31.000000000 +0200
@@ -42,14 +42,24 @@
# previously in parts/1l10ndata, from bouz
cd $crondir/datafiles/
echo "updating the database file used to display l10n stats..." >> $crondir/lessoften.log
-wget -q -N http://gluck.debian.org/~barbier/l10n/material/data/unstable.gz || { echo "couldn't fetch data/unstable on gluck!"; exit 1; }
-gunzip -c -f unstable.gz > unstable.gluck
-ln -sf $crondir/datafiles/unstable.gluck $webtopdir/webwml/english/international/l10n/data/unstable.gluck
+if wget -q -N http://gluck.debian.org/~barbier/l10n/material/data/unstable.gz; then
+ gunzip -c -f unstable.gz > unstable.gluck
+ ln -sf $crondir/datafiles/unstable.gluck $webtopdir/webwml/english/international/l10n/data/unstable.gluck
+else
+ echo "couldn't fetch data/unstable on gluck!" >> $crondir/lessoften.log
+ rm -f $webtopdir/webwml/english/international/l10n/data/unstable.gluck
+ :> $webtopdir/webwml/english/international/l10n/data/unstable.gluck
+fi
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
+if wget -q -N http://non-us.debian.org/~barbier/l10n/material/data/unstable.gz; then
+ gunzip -c -f unstable.gz > unstable.non-US
+ ln -sf $crondir/datafiles/unstable.non-US $webtopdir/webwml/english/international/l10n/data/unstable.non-US
+else
+ echo "couldn't fetch data/unstable on non-us!" >> $crondir/lessoften.log
+ rm -f $webtopdir/webwml/english/international/l10n/data/unstable.non-US
+ :> $webtopdir/webwml/english/international/l10n/data/unstable.non-US
+fi
# cleanup
rm -f unstable.gz
Reply to: