summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Update.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-06-09 08:13:20 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-06-09 08:13:20 +0000
commita1c3ce92d8746e5cb544a14329e1bd0d91ab0624 (patch)
tree0da52aee8efd99b2fca781b9a5c06138170c73f5 /usr.sbin/pkg_add/OpenBSD/Update.pm
parentba752ba29cd01e2c98ab76e540d6daf77a044531 (diff)
replace confusing (n to go) message with #done/#total annotations.
e.g., Checking packages|No change in apr-util-mt-1.2.10p4 (26/1530)
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Update.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm
index 0a54ac58659..3a29572226e 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.137 2010/06/09 07:26:01 espie Exp $
+# $OpenBSD: Update.pm,v 1.138 2010/06/09 08:13:19 espie Exp $
#
# Copyright (c) 2004-2010 Marc Espie <espie@openbsd.org>
#
@@ -71,7 +71,7 @@ sub add_location
sub progress_message
{
my ($self, $state, $msg) = @_;
- $msg .= $state->ntogo;
+ $msg .= " (".$state->ntogo.")";
$state->progress->message($msg);
$state->say($msg) if $state->verbose >= 2;
}
@@ -193,7 +193,7 @@ sub process_handle
}
return undef;
}
- $state->say("Update candidates: #1 -> #2", $pkgname,
+ $state->say("Update candidates: #1 -> #2 (#3)", $pkgname,
join(' ', map {$_->name} @$l), $state->ntogo) if $state->verbose;
my $r = $state->choose_location($pkgname, $l);