diff options
Diffstat (limited to 'usr.sbin/pkg_add/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/pkg_add | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add index c57a7f16620..c793948731d 100644 --- a/usr.sbin/pkg_add/pkg_add +++ b/usr.sbin/pkg_add/pkg_add @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: pkg_add,v 1.360 2009/10/19 14:00:10 espie Exp $ +# $OpenBSD: pkg_add,v 1.361 2009/10/19 14:07:26 espie Exp $ # # Copyright (c) 2003-2009 Marc Espie <espie@openbsd.org> # @@ -449,6 +449,10 @@ sub install_set { my ($set, $state, @todo) = @_; + if ($set->{finished}) { + return (); + } + my $handle = $set->handle; if ($state->{tracker}->is_installed($handle->pkgname)) { $handle->cleanup(OpenBSD::Handle::ALREADY_INSTALLED); |