From f723c71de0ef26e8a35905802cff3e06718a91f7 Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 16 Jun 2023 10:29:35 +0000 Subject: [PATCH] belated move to OO --- usr.sbin/pkg_add/OpenBSD/PkgCheck.pm | 6 +++--- 1 file 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 # @@ -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; -- 2.20.1