Browse Source

Switch to the new makewhatis(8)/apropos(1)/whatis(1) combo.

"commit the switch now" espie@  "go for it" deraadt@
See the apropos(1) manual for a description of what's new.
On machines where you want the full functionality,
run "sudo makewhatis" and put "MAKEWHATISARGS=' '" into weekly.local(8).
Otherwise, when upgrading via source, run "sudo makewhatis -Q".
OPENBSD_5_6
schwarze 10 years ago
parent
commit
f3d7fdd09c
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      src/etc/weekly

+ 2
- 2
src/etc/weekly View File

@ -1,5 +1,5 @@
# #
# $OpenBSD: weekly,v 1.25 2011/07/07 23:09:46 guenther Exp $
# $OpenBSD: weekly,v 1.26 2014/04/18 10:00:48 schwarze Exp $
# #
# For local additions, create the file /etc/weekly.local. # For local additions, create the file /etc/weekly.local.
# To get section headers, use the function next_part in weekly.local. # To get section headers, use the function next_part in weekly.local.
@ -63,7 +63,7 @@ if [ -f /var/db/locate.database ]; then
fi fi
next_part "Rebuilding whatis databases:" next_part "Rebuilding whatis databases:"
/usr/libexec/makewhatis
/usr/sbin/makewhatis ${MAKEWHATISARGS:--Q}
next_part "Doing login accounting:" next_part "Doing login accounting:"
[ "X$LOGINACCOUNTING" = X1 ] && { [ "X$LOGINACCOUNTING" = X1 ] && {


Loading…
Cancel
Save