summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2021-01-30 10:24:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2021-01-30 10:24:20 +0000
commit6c2979e9a775a46fa5667915cab2a882c91074f8 (patch)
tree8bce2579388ff9722f787afa7bc9110752165b17 /usr.sbin/pkg_add/OpenBSD
parent8804448108050e24ad4a980f37e2efe205db275f (diff)
for now, do not try to install quirks in case we're running "not"
the better thing to do would be to pseudo-install it under /tmp so we can run it, but it requires way more changes
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/AddDelete.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
index 4aa0e549b45..5d5ab0d192f 100644
--- a/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
+++ b/usr.sbin/pkg_add/OpenBSD/AddDelete.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: AddDelete.pm,v 1.93 2020/01/11 13:46:39 espie Exp $
+# $OpenBSD: AddDelete.pm,v 1.94 2021/01/30 10:24:19 espie Exp $
#
# Copyright (c) 2007-2010 Marc Espie <espie@openbsd.org>
#
@@ -351,7 +351,7 @@ sub run_quirks
# interface version number.
$state->{quirks} = OpenBSD::Quirks->new(1);
};
- if ($@) {
+ if ($@ && !$state->{not}) {
my $show = $state->verbose >= 2;
if (!$show) {
my $l = $state->repo->installed->match_locations(OpenBSD::Search::Stem->new('quirks'));