Hi, Holger Wansing <li...@wansing-online.de> wrote: > Hi, > > Osamu Aoki <os...@debian.org> wrote: > > Hi, > > > > (I can not find the bug report) > > That's https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=803541 > > > On Sat, Oct 31, 2015 at 08:30:32AM +0100, Holger Wansing wrote: > > > Package: www.debian.org > > > Severity: minor > > > > > > Since the html variants are working fine, I will remove the txt variants > > > from the website for now. > > > Turning this into a bugreport, so that it doesn't get lost. > > ... > > > Or is there some mechanism, that extracts the files out of the package > > > and renames it according to specific rules, before it gets loaded to the > > > Debian webserver? > > > > YES. > > > > #url = https://alioth.debian.org/anonscm/git/debwww/cron.git > > url = ssh://git.debian.org/git/debwww/cron.git > > > > debwww/cron/parts/7doc > > Ok. That's somewhat heavy for me, I fear. >
Maybe something like the following does the trick: diff --git a/parts/7doc b/parts/7doc index c0eba7b..3c1e11f 100755 --- a/parts/7doc +++ b/parts/7doc @@ -409,19 +409,19 @@ for lang in $langlist ; do done unpack apt-doc -mvdocs apt-guide usr/share/doc/apt-doc YES en manuals/ guide -mvhtml apt-guide usr/share/doc/apt-doc/guide.html ADD en +mvdocs apt-guide usr/share/doc/apt-doc YES en manuals/ apt-guide +mvhtml apt-guide usr/share/doc/apt-doc/apt-guide.html ADD en langlist=`file2lang guide. .text.gz usr/share/doc/apt-doc` for lang in $langlist ; do - mvdocs apt-guide usr/share/doc/apt-doc YES $lang manuals/ guide - mvhtml apt-guide usr/share/doc/apt-doc/guide.$lang.html ADD $lang + mvdocs apt-guide usr/share/doc/apt-doc YES $lang manuals/ apt-guide + mvhtml apt-guide usr/share/doc/apt-doc/apt-guide.$lang.html ADD $lang done -mvdocs apt-offline usr/share/doc/apt-doc YES en manuals/ offline -mvhtml apt-offline usr/share/doc/apt-doc/offline.html ADD en +mvdocs apt-offline usr/share/doc/apt-doc YES en manuals/ apt-offline +mvhtml apt-offline usr/share/doc/apt-doc/apt-offline.html ADD en langlist=`file2lang offline. .text.gz usr/share/doc/apt-doc` for lang in $langlist ; do - mvdocs apt-offline usr/share/doc/apt-doc YES $lang manuals/ offline - mvhtml apt-offline usr/share/doc/apt-doc/offline.$lang.html ADD $lang + mvdocs apt-offline usr/share/doc/apt-doc YES $lang manuals/ apt-offline + mvhtml apt-offline usr/share/doc/apt-doc/apt-offline.$lang.html ADD $lang done langlist=`pkg2lang aptitude-doc-` -- ============================================================ Created with Sylpheed 3.5.0 under D E B I A N L I N U X 8 . 0 " J E S S I E " . Registered Linux User #311290 - https://linuxcounter.net/ ============================================================