Bug#803541: Fw: Re: broken links in the apt manual's area

Holger Wansing <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <20151102221213.98101c939a031226d4741235__12659.6778900877$1446499834$gmane$org@wansing-online.de>
Hi,

Holger Wansing <[email protected]> wrote:
> Hi,
> 
> Osamu Aoki <[email protected]> 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-`
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.