From 30d753bfbb99387fe36b3e34d8990099727682f0 Mon Sep 17 00:00:00 2001 From: espie Date: Wed, 13 Apr 2022 21:19:16 +0000 Subject: [PATCH] add Paths to the quirks locate db and the locate binary proper --- usr.sbin/pkg_add/OpenBSD/Paths.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/OpenBSD/Paths.pm b/usr.sbin/pkg_add/OpenBSD/Paths.pm index 4f50b902ba2..091927842b2 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.36 2019/07/04 15:08:27 espie Exp $ +# $OpenBSD: Paths.pm,v 1.37 2022/04/13 21:19:16 espie Exp $ # # Copyright (c) 2007-2014 Marc Espie # @@ -51,6 +51,7 @@ sub df() { '/bin/df' } sub ssh() { '/usr/bin/ssh' } sub make() { '/usr/bin/make' } sub mklocatedb() { '/usr/libexec/locate.mklocatedb' } +sub locate() { '/usr/bin/locate' } sub hostname() { '/bin/hostname' } sub doas() { '/usr/bin/doas' } sub env() { '/usr/bin/env' } @@ -70,6 +71,7 @@ sub master_keys() { ("/etc/master_key") } sub installurl() { "/etc/installurl" } sub srclocatedb() { "/usr/lib/locate/src.db" } sub xlocatedb() { "/usr/X11R6/lib/locate/xorg.db" } +sub updateinfodb { '/usr/local/share/update.db' } sub font_cruft() { ("fonts.alias", "fonts.dir", "fonts.cache-1", "fonts.scale") } sub man_cruft() { ("whatis.db", "mandoc.db", "mandoc.index") } -- 2.20.1