mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
Fix the man_db.conf when installing Xorg into /opt
The default X11 statements in /etc/man_db.conf point to /usr/X11R6/man, but the man pages are installed in $XORG_PREFIX/share/man. This commit changes X11R6/man to X11R6/share/man. A second expression changes /usr/X11R6 to $XORG_PREFIX. For $XORG_PREFIX=/opt/xorg, the original MANPATH_MAP /usr/X11R6/bin /usr/X11R6/man MANPATH_MAP /usr/bin/X11 /usr/X11R6/man ... MANDB_MAP /usr/X11R6/man /var/cache/man/X11R6 to MANPATH_MAP /opt/xorg/bin /opt/xorg/share/man MANPATH_MAP /usr/bin/X11 /opt/xorg/share/man ... MANDB_MAP /opt/xorg/share/man /var/cache/man/X11R6
This commit is contained in:
parent
f3b995a21d
commit
553e615860
@ -233,7 +233,9 @@ EOF</userinput></screen>
|
||||
user:
|
||||
</para>
|
||||
|
||||
<screen role="root"><userinput>sed "s@<replaceable>/usr/X11R6</replaceable>@$XORG_PREFIX@g" -i /etc/man_db.conf</userinput></screen>
|
||||
<screen role="root"><userinput>sed -e "s@<replaceable>X11R6/man</replaceable>@X11R6/share/man@g" \
|
||||
-e "s@<replaceable>/usr/X11R6</replaceable>@$XORG_PREFIX@g" \
|
||||
-i /etc/man_db.conf</userinput></screen>
|
||||
|
||||
<para>
|
||||
Some applications look for shared files in <filename
|
||||
|
Loading…
Reference in New Issue
Block a user