diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2009-11-11 11:18:25 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2009-11-11 11:18:25 +0000 |
commit | 5faa044d32965d87c9502fe63ba3bcb2c91b1ca7 (patch) | |
tree | 5da8ef90b0ad8816ff46d3e43a9e4759286f8c82 /usr.sbin/pkg_add | |
parent | ff6780c1ae7637bd22cd6c04ea140e97df7585af (diff) |
state->progress->print => $state->print
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageInfo.pm | 4 | ||||
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Update.pm | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm index 723ed8f918e..2bec8fb57e6 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageInfo.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageInfo.pm,v 1.41 2009/11/10 11:36:56 espie Exp $ +# $OpenBSD: PackageInfo.pm,v 1.42 2009/11/11 11:18:24 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -256,7 +256,7 @@ sub solve_installed_names if ($state->{defines}->{ambiguous}) { my @l = map {$_->name} @$r; - $state->progress->print("Ambiguous: $pkgname could be ", join(' ', @l),"\n"); + $state->print("Ambiguous: $pkgname could be ", join(' ', @l),"\n"); print "$msg\n"; push(@$new, @l); for my $p (@$r) { diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm index 53b5dfd42a6..261656fa470 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.91 2009/11/10 11:36:56 espie Exp $ +# $OpenBSD: Update.pm,v 1.92 2009/11/11 11:18:24 espie Exp $ # # Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org> # @@ -126,7 +126,7 @@ sub process_handle } } - $state->progress->print("Candidates for updating $pkgname -> ", join(' ', map {$_->name} @$l), "\n"); + $state->print("Candidates for updating $pkgname -> ", join(' ', map {$_->name} @$l), "\n"); my $r = $state->choose_location($pkgname, $l); if (defined $r) { |