SOURCES: man-rpm.patch (NEW) - add summary of installed rpm packag...
baggins
baggins at pld-linux.org
Mon Nov 6 19:07:18 CET 2006
Author: baggins Date: Mon Nov 6 18:07:17 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- add summary of installed rpm packages to whatis database
---- Files affected:
SOURCES:
man-rpm.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/man-rpm.patch
diff -u /dev/null SOURCES/man-rpm.patch:1.1
--- /dev/null Mon Nov 6 19:07:17 2006
+++ SOURCES/man-rpm.patch Mon Nov 6 19:07:12 2006
@@ -0,0 +1,11 @@
+--- man-1.6d/src/makewhatis.sh.pom 2006-06-22 14:13:06.000000000 +0200
++++ man-1.6d/src/makewhatis.sh 2006-06-22 14:14:28.000000000 +0200
+@@ -121,7 +121,7 @@
+ # first truncate all the whatis files that will be created new,
+ # then only update - we might visit the same directory twice
+ if [ x$update = x ]; then
+- :> $whatisdb
++ rpm -qa --queryformat '%-19{NAME} (rpm) - %{SUMMARY}\r' | tr -d '\n' | tr '\r' '\n' >$whatisdb
+ fi
+
+ for pages in man cat
================================================================
More information about the pld-cvs-commit
mailing list