Magellan Linux

Contents of /trunk/man/patches/man-1.5p-defmanpath-symlinks.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 324 - (show annotations) (download)
Mon Aug 20 16:04:40 2007 UTC (16 years, 8 months ago) by niro
File size: 663 byte(s)
-missing cron file and added some fixes

1 --- man-1.5o2/src/makewhatis.sh.orig 2005-01-07 21:19:37.812163552 -0500
2 +++ man-1.5o2/src/makewhatis.sh 2005-01-07 21:20:43.023249960 -0500
3 @@ -41,7 +41,7 @@
4 # and should be first.
5 # It is a bug to add /var/cache/man to DEFCATPATH.
6 dm=
7 -for d in /usr/man /usr/share/man /usr/X11R6/man /usr/local/man
8 +for d in /usr/local/man /usr/share/man
9 do
10 if [ -d $d ]; then
11 if [ x$dm = x ]; then dm=$d; else dm=$dm:$d; fi
12 @@ -49,7 +49,7 @@
13 done
14 DEFMANPATH=$dm
15 dc=
16 -for d in /usr/man/preformat /usr/man /usr/share/man/preformat /usr/share/man
17 +for d in /usr/local/man /usr/share/man
18 do
19 if [ -d $d ]; then
20 if [ x$dc = x ]; then dc=$d; else dc=$dc:$d; fi