summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Paths.pm
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-05 23:03:58 +0000
committerIngo Schwarze <schwarze@cvs.openbsd.org>2012-01-05 23:03:58 +0000
commitba86746ddf8593b1c5909676d1fe0114743a1b54 (patch)
tree0bdf57dee1a6fd2724572cf1630f473115ec152e /usr.sbin/pkg_add/OpenBSD/Paths.pm
parent6b5e3370d7e1a753f35756c08d9accf79e908854 (diff)
Enable the new apropos(1), whatis(1), and makewhatis(8).
Unlink the old apropos(1), whatis(1), and makewhatis(8) from the build. Call the new tools from pkg_create(1) and pkg_add(1). "Please enable it now." deraadt@
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Paths.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Paths.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Paths.pm b/usr.sbin/pkg_add/OpenBSD/Paths.pm
index 4c68b71af5d..9ca0a3e2ffd 100644
--- a/usr.sbin/pkg_add/OpenBSD/Paths.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Paths.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Paths.pm,v 1.17 2010/12/24 09:04:14 espie Exp $
+# $OpenBSD: Paths.pm,v 1.18 2012/01/05 23:03:57 schwarze Exp $
#
# Copyright (c) 2007 Marc Espie <espie@openbsd.org>
#
@@ -47,6 +47,7 @@ sub mount() { '/sbin/mount' }
sub df() { '/bin/df' }
sub ssh() { '/usr/bin/ssh' }
sub make() { '/usr/bin/make' }
+sub makewhatis() { '/usr/libexec/makewhatis' }
sub mklocatedb() { '/usr/libexec/locate.mklocatedb' }
sub hostname() { '/bin/hostname' }
sub sudo() { '/usr/bin/sudo' }