From: espie Date: Sat, 25 Nov 2023 10:58:45 +0000 (+0000) Subject: check_security has been around long enough, no need to check quirks can X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=d70781076d493fe064240ac4b1e834a0fb7e76af;p=openbsd check_security has been around long enough, no need to check quirks can do it --- 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;