diff options
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Replace.pm | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Replace.pm b/usr.sbin/pkg_add/OpenBSD/Replace.pm index 070c3c8005d..c48bfaa4734 100644 --- a/usr.sbin/pkg_add/OpenBSD/Replace.pm +++ b/usr.sbin/pkg_add/OpenBSD/Replace.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Replace.pm,v 1.68 2010/01/11 12:25:38 espie Exp $ +# $OpenBSD: Replace.pm,v 1.69 2010/01/18 10:04:53 espie Exp $ # # Copyright (c) 2004-2010 Marc Espie <espie@openbsd.org> # @@ -213,6 +213,10 @@ sub is_set_safe { my ($set, $state) = @_; + if ($state->{defines}->{update} && !$state->verbose) { + return 1; + } + my $ok = 1; for my $pkg ($set->older) { |