mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-21 12:49:21 +01:00
Removed /usr/local/man lines from man_db.conf
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7936 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
79286f58d6
commit
47d4ffad9b
@ -39,6 +39,10 @@
|
||||
<listitem>
|
||||
<para>2007-02-23</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[dnicholson] - Removed /usr/local/man lines from man_db.conf
|
||||
to prevent redundant results. Reported by Chris Staub.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[dnicholson] - Applied a patch from Chris Staub to fix some
|
||||
commands and text on the kernel file systems, E2fsprogs and
|
||||
|
@ -48,11 +48,11 @@ mv man/ja{_JP.eucJP,} &&
|
||||
sed -i 's,\*_\*,??,' man/Makefile.in</userinput></screen>
|
||||
|
||||
<para>The second change is a <command>sed</command> substitution to delete
|
||||
the <quote>/usr/man</quote> lines in the <filename>man_db.conf</filename>
|
||||
file to prevent redundant results when using programs such as
|
||||
<command>whatis</command>:</para>
|
||||
the <quote>/usr/man</quote> and <quote>/usr/local/man</quote> lines in
|
||||
the <filename>man_db.conf</filename> file to prevent redundant results
|
||||
when using programs such as <command>whatis</command>:</para>
|
||||
|
||||
<screen><userinput>sed -i '/\t\/usr\/man/d' src/man_db.conf.in</userinput></screen>
|
||||
<screen><userinput>sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in</userinput></screen>
|
||||
|
||||
<para>The third change accounts for programs that Man-DB should be able
|
||||
to find at runtime, but that haven't been installed yet:</para>
|
||||
|
Loading…
Reference in New Issue
Block a user