summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2023-06-16 10:29:36 +0000
committerMarc Espie <espie@cvs.openbsd.org>2023-06-16 10:29:36 +0000
commitdb79a86f935d09d0da51c73d79a0ec2830667191 (patch)
tree21b56fd20899dfebac0c15f6f9376541a7287960
parent9da0f798923e8b590d007d6c7e9cc9c8f4b4cd73 (diff)
belated move to OO
-rw-r--r--usr.sbin/pkg_add/OpenBSD/PkgCheck.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
index f8b67640da3..b98e4c8c132 100644
--- a/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
+++ b/usr.sbin/pkg_add/OpenBSD/PkgCheck.pm
@@ -1,7 +1,7 @@
#! /usr/bin/perl
# ex:ts=8 sw=4:
-# $OpenBSD: PkgCheck.pm,v 1.79 2023/06/13 09:07:17 espie Exp $
+# $OpenBSD: PkgCheck.pm,v 1.80 2023/06/16 10:29:35 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -213,7 +213,7 @@ sub basic_check($self, $state)
{
$self->SUPER::basic_check($state);
my $name = $state->destdir($self->fullname);
- for my $file (OpenBSD::Paths::man_cruft()) {
+ for my $file (OpenBSD::Paths->man_cruft) {
$state->{known}{$name}{$file} = 1;
}
return 1;
@@ -924,7 +924,7 @@ sub locate_unknown($self, $state)
sub fill_localbase($self, $state, $base)
{
- for my $file (OpenBSD::Paths::man_cruft()) {
+ for my $file (OpenBSD::Paths->man_cruft) {
$state->{known}{$base."/man"}{$file} = 1;
}
$state->{known}{$base."/info"}{'dir'} = 1;