From 2650f9c8b741b5eeac7830ef59dea2409937f8ed Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Thu, 20 Sep 2007 09:01:35 +0000 Subject: obey -F installed noticed by kurt@, tested by him too. --- usr.sbin/pkg_add/OpenBSD/Update.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/Update.pm') diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm index 5833d8468bb..9555dbbbb04 100644 --- a/usr.sbin/pkg_add/OpenBSD/Update.pm +++ b/usr.sbin/pkg_add/OpenBSD/Update.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Update.pm,v 1.80 2007/06/09 11:16:54 espie Exp $ +# $OpenBSD: Update.pm,v 1.81 2007/09/20 09:01:34 espie Exp $ # # Copyright (c) 2004-2006 Marc Espie # @@ -133,7 +133,7 @@ sub process_package return; } if (defined $found && $found eq $l[0] && - !$plist->uses_old_libs) { + !$plist->uses_old_libs && !$state->{forced}->{installed}) { my $msg = "No need to update $pkgname"; $state->progress->message($msg); print "$msg\n" if $state->{beverbose}; -- cgit v1.2.3