Re: Bug#1066024: dbconfig-common: Link error from https://www.debian.org/doc/manuals/dbconfig-common/dbconfig-common-design.html

"Adam D. Barratt" <[email protected]>
Newsgroups gmane.linux.debian.devel.www
Message-ID <95dde658d68f79a55a333f0da346ab2d2566772e.camel@adam-barratt.org.uk>
On Sun, 2025-04-27 at 13:24 +0200, Holger Wansing wrote:
> (I wonder, why other symlinks in the same 7doc script seem to work
> BTW, 
> which also absolutely point to /srv/www.debian.org/doc/... )

I may just not have had enough coffee, but AFAICS the locations that
the other links are created in are absolute, but their targets are
still relative.

For example:

ln -sf guide.$lang.txt $webdocdir/manuals/apt-guide/apt-guide.$lang.txt

results in

adsb@wolkenstein:~$ find /srv/www.debian.org/www/doc/manuals/apt-guide/ -type l -name "*.txt" -ls 
211776811      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.de.txt -> guide.de.txt
211776812      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.es.txt -> guide.es.txt
211776778      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.fr.txt -> guide.fr.txt
211776768      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.it.txt -> guide.it.txt
211776769      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.ja.txt -> guide.ja.txt
211776770      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.nl.txt -> guide.nl.txt
211776771      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.pl.txt -> guide.pl.txt
211776787      0 lrwxrwxrwx   1 debwww   debwww         12 Apr 26 11:49 /srv/www.debian.org/www/doc/manuals/apt-guide/apt-guide.pt.txt -> guide.pt.txt

Regards,

Adam
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.