summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2007-09-20 09:01:35 +0000
committerMarc Espie <espie@cvs.openbsd.org>2007-09-20 09:01:35 +0000
commit2650f9c8b741b5eeac7830ef59dea2409937f8ed (patch)
tree7492f1dcd73b5447c3d89e7a1e090b68531f0f22 /usr.sbin
parenta12416432c535f779111d218f4eb0e28d0dc8464 (diff)
obey -F installed
noticed by kurt@, tested by him too.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm4
1 files changed, 2 insertions, 2 deletions
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 <espie@openbsd.org>
#
@@ -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};