/[pkgs]/rpms/man/devel/man-1.6f-makewhatis_update.patch
ViewVC logotype

Contents of /rpms/man/devel/man-1.6f-makewhatis_update.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download) (as text)
Mon Apr 20 19:47:40 2009 UTC (7 months ago) by lkundrak
Branch: MAIN
CVS Tags: F-12-split, man-1_6f-21_fc12, man-1_6f-19_fc12, man-1_6f-18_fc12, man-1_6f-22_fc12, man-1_6f-20_fc12, man-1_6f-23_fc13, HEAD
File MIME type: text/x-patch
* Sun Apr 19 2009 Lubomir Rintel <lkundrak@v3.sk> - 1.6f-18
- Get rid of slow weekly updates
- Make daily updates reliable
- Speed up initial indexation
1 diff -up man-1.6f/src/makewhatis.sh.update man-1.6f/src/makewhatis.sh
2 --- man-1.6f/src/makewhatis.sh.update 2009-04-19 22:01:26.900609474 +0200
3 +++ man-1.6f/src/makewhatis.sh 2009-04-19 22:06:46.690612151 +0200
4 @@ -35,6 +35,8 @@
5 # 060608 - Corrected traps.
6 # 060719 - section choosing behavior to match man's (Mike frysinger).
7 #
8 +# 090419 - Add -U flag, Lubomir Rintel <lkundrak@v3.sk>
9 +#
10 # Note for Slackware users: "makewhatis -v -w -c" will work.
11 #
12 # makewhatis flc 060719 (from @version@)
13 @@ -121,6 +123,9 @@ case $name in
14 continue;;
15 -o) setwhatis=1
16 continue;;
17 + -U) [ -f "$whatisdb" ] && findarg="-cnewer $whatisdb"
18 + update=1
19 + continue;;
20 -u) findarg="-ctime 0"
21 update=1
22 continue;;
23 @@ -133,7 +138,8 @@ case $name in
24 echo " This will build the whatis database for the man pages"
25 echo " found in manpath and the cat pages found in catpath."
26 echo " -s: sections (default: $sections)"
27 - echo " -u: update database with new pages"
28 + echo " -u: update database with pages added today"
29 + echo " -U: update database with pages added since last makewhatis run"
30 echo " -v: verbose"
31 echo " -o: location of whatis database (default: $DEFWHATIS)"
32 echo " -w: use manpath obtained from \`man --path\`"

admin@fedoraproject.org
ViewVC Help
Powered by ViewVC 1.1.2