From: espie Date: Mon, 12 Jan 2015 18:27:33 +0000 (+0000) Subject: oops, don't load quirks prematurely. noticed by many, myself included X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ad60389db76d48aba89193815ba7dfcd59a463c9;p=openbsd oops, don't load quirks prematurely. noticed by many, myself included --- 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 {