From ad60389db76d48aba89193815ba7dfcd59a463c9 Mon Sep 17 00:00:00 2001 From: espie Date: Mon, 12 Jan 2015 18:27:33 +0000 Subject: [PATCH] oops, don't load quirks prematurely. noticed by many, myself included --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 9741e955a84..c3882b4563f 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.80 2014/12/24 12:50:22 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.81 2015/01/12 18:27:33 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie # @@ -271,6 +271,7 @@ sub check_security my ($set, $state, $plist, $h) = @_; return if $checked->{$plist->fullpkgpath}; $checked->{$plist->fullpkgpath} = 1; + return if $set->{quirks}; my ($error, $bad); $state->run_quirks( sub { -- 2.20.1