From d70781076d493fe064240ac4b1e834a0fb7e76af Mon Sep 17 00:00:00 2001 From: espie Date: Sat, 25 Nov 2023 10:58:45 +0000 Subject: [PATCH] check_security has been around long enough, no need to check quirks can do it --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 32c894d84f0..6e3972cb962 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.146 2023/11/08 09:51:13 caspar Exp $ +# $OpenBSD: PkgAdd.pm,v 1.147 2023/11/25 10:58:45 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -307,7 +307,6 @@ sub check_security($set, $state, $plist, $h) my ($error, $bad); $state->run_quirks( sub($quirks) { - return unless $quirks->can("check_security"); $bad = $quirks->check_security($plist->fullpkgpath); if (defined $bad) { require OpenBSD::PkgSpec; -- 2.20.1