Han Boetes <[EMAIL PROTECTED]> wrote:

> man -k doesn't work and the rpm doesn't build.


# Han
-- 
    \    /     Non-Determinism is not meant to be reasonable. -- M.J.
    )\__/(                           0'Donnell
    |(oO)|
     \||/
Ts   (OO)
+vVv------vVv----------------------------------------------------------+
--- src/makewhatis.sh.usrman    2002-12-19 08:17:45.000000000 +0100
+++ src/makewhatis.sh   2002-12-19 08:19:25.000000000 +0100
@@ -37,11 +37,11 @@
 # In case both /usr/man and /usr/share/manexist, the former is local
 # and should be first.
 # It is a bug to add /var/cache/man to DEFCATPATH.
-DEFMANPATH=/usr/share/man:/usr/man
+DEFMANPATH=/usr/share/man:/usr/local/man
 # This files is specific to Linux-Mandrake.
 [ -f /etc/sysconfig/i18n ] && . /etc/sysconfig/i18n
-[ -d /usr/man/$LANG/ ] && DEFMANPATH="$DEFMANPATH:/usr/man/$LANG/"
-DEFCATPATH=/var/cache/man:/usr/man/preformat:/usr/share/man:/usr/man
+[ -d /usr/share/man/$LANG/ ] && DEFMANPATH="$DEFMANPATH:/usr/share/man/$LANG/"
+DEFCATPATH=/var/cache/man:/usr/share/man:/usr/local/man
 
 # In case /usr is read-only, make /usr/man/whatis (etc) a symlink to
 # something like /var/cache/man/whatis.

Reply via email to