[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#506266: Fw: Re: Broken link in www.d.o/devel/buildd/ due to renaming in cron



To record at the proper place the patch that will fix this bug.

To one of the webmasters: can you please patch the cron files ?

Best regards.

-- 
Simon Paillard
--- Begin Message ---
On Fri, Nov 07, 2008 at 07:43:22PM +0100, Simon Paillard wrote:
> On Fri, Nov 07, 2008 at 07:19:39PM +0100, Simon Paillard wrote:
> > @debian-www: By the way, it seems there are remaining files from old
> > builds, for example ch-pkgs.html while it is now named pkgs.html.en.
> 
> These strange *.html.$lang cause most of the links on
> http://www.debian.org/doc/devel-manuals#devref to be broken.
> 
> It is due to cron/parts/7doc and the part which care of devref.
> 
> Joy, is that possible for you to name the files *.(fr|en|ja).(pdf|html|etc)
> instead ?

Here is a atch for this.
By the way, there is no japanese version anymore on the website, because
there is no package for the japanese translation (while the translation
exists on the SVN of DDP).

-- 
Simon Paillard
--- 7doc.orig	2008-11-11 14:31:10.000000000 +0100
+++ 7doc	2008-11-11 14:40:01.000000000 +0100
@@ -81,10 +81,10 @@
 test -d $webdocdir/developers-reference || install -d -m 2775 $webdocdir/developers-reference
 for doc in dr/usr/share/doc/developers-reference-fr/*.html
 do
-	install -p -m 664 "$doc" $webdocdir/developers-reference/$(basename "$doc").fr
+	install -p -m 664 "$doc" $webdocdir/developers-reference/$(basename "$doc" .html).fr.html
 done
-install -p -m 664 dr/usr/share/doc/developers-reference-fr/developers-reference.pdf $webdocdir/developers-reference/developers-reference.pdf.fr
-install -p -m 664 dr/usr/share/doc/developers-reference-fr/developers-reference.txt.gz $webdocdir/developers-reference/developers-reference.txt.gz.fr
+install -p -m 664 dr/usr/share/doc/developers-reference-fr/developers-reference.pdf $webdocdir/developers-reference/developers-reference.fr.pdf
+install -p -m 664 dr/usr/share/doc/developers-reference-fr/developers-reference.txt.gz $webdocdir/developers-reference/developers-reference.fr.txt.gz
 rm -rf dr
 
 echo -n " maint-guide"

--- End Message ---

Reply to: