From 47d4ffad9bab231b0aca5f66e694247e1f9d6c8c Mon Sep 17 00:00:00 2001 From: Dan Nichilson Date: Sat, 24 Feb 2007 05:30:22 +0000 Subject: 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 --- chapter06/man-db.xml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'chapter06') 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 The second change is a sed substitution to delete - the /usr/man lines in the man_db.conf - file to prevent redundant results when using programs such as - whatis: + the /usr/man and /usr/local/man lines in + the man_db.conf file to prevent redundant results + when using programs such as whatis: -sed -i '/\t\/usr\/man/d' src/man_db.conf.in +sed -i -e '\%\t/usr/man%d' -e '\%\t/usr/local/man%d' src/man_db.conf.in The third change accounts for programs that Man-DB should be able to find at runtime, but that haven't been installed yet: -- cgit v1.2.3-54-g00ecf