diff options
author | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2007-02-24 05:30:22 +0000 |
---|---|---|
committer | Dan Nichilson <dnicholson@linuxfromscratch.org> | 2007-02-24 05:30:22 +0000 |
commit | 47d4ffad9bab231b0aca5f66e694247e1f9d6c8c (patch) | |
tree | f8c1e5ce5f94b25b3297ad6578a5001fe0e062f3 /chapter06 | |
parent | 79286f58d67ba2be55abe2ff3c2cdb0848eb8ab4 (diff) |
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
Diffstat (limited to 'chapter06')
-rw-r--r-- | chapter06/man-db.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/chapter06/man-db.xml b/chapter06/man-db.xml index 82b374447..7ff5e068c 100644 --- a/chapter06/man-db.xml +++ b/chapter06/man-db.xml @@ -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> |