Author: dnicholson
Date: 2007-02-23 22:30:22 -0700 (Fri, 23 Feb 2007)
New Revision: 7936

Modified:
   trunk/BOOK/chapter01/changelog.xml
   trunk/BOOK/chapter06/man-db.xml
Log:
Removed /usr/local/man lines from man_db.conf


Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml  2007-02-24 04:56:32 UTC (rev 7935)
+++ trunk/BOOK/chapter01/changelog.xml  2007-02-24 05:30:22 UTC (rev 7936)
@@ -40,6 +40,10 @@
       <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
           Autoconf pages.</para>

Modified: trunk/BOOK/chapter06/man-db.xml
===================================================================
--- trunk/BOOK/chapter06/man-db.xml     2007-02-24 04:56:32 UTC (rev 7935)
+++ trunk/BOOK/chapter06/man-db.xml     2007-02-24 05:30:22 UTC (rev 7936)
@@ -48,11 +48,11 @@
 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>

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to