diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2014-07-14 08:47:50 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2014-07-14 08:47:50 +0000 |
commit | 6db1b7bf281e87b6ab0970c03f75eedabe15a12e (patch) | |
tree | 713b792695cd1bd2ee4b255c5eb1910500f10d66 /usr.sbin/pkg_add/OpenBSD/Paths.pm | |
parent | 3c19c860cf5ac41bb4229ecc7f9115d883f95d91 (diff) |
unhardcode db paths.
put pruning of paths back early: these happen to be in the source db for
the most part, so if we auto-detect source first, we lose.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Paths.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Paths.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Paths.pm b/usr.sbin/pkg_add/OpenBSD/Paths.pm index 987fa383af3..3f44257f21d 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.28 2014/04/18 10:00:48 schwarze Exp $ +# $OpenBSD: Paths.pm,v 1.29 2014/07/14 08:47:49 espie Exp $ # # Copyright (c) 2007-2014 Marc Espie <espie@openbsd.org> # @@ -67,6 +67,8 @@ sub portsdir() { '/usr/ports' } sub library_dirs() { ("/usr", "/usr/X11R6") } sub master_keys() { ("/etc/master_key") } sub pkgconf() { "/etc/pkg.conf" } +sub srclocatedb() { "/usr/lib/locate/src.db" } +sub xlocatedb() { "/usr/X11R6/lib/locate/xorg.db" } sub font_cruft() { ("fonts.alias", "fonts.dir", "fonts.cache-1", "fonts.scale") } sub man_cruft() { ("whatis.db", "mandoc.db", "mandoc.index") } |