summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-01-12 10:57:06 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-01-12 10:57:06 +0000
commitc1bf29936dff7aca461ebf88f4485cd677a2669e (patch)
tree32c5a6ebf3a963ad8c5dbf34e673a0206ef1abb1
parent67c63bd2e91de02f0470574a330c702547314282 (diff)
bump this to updater, so that progress is shown again.
-rw-r--r--usr.sbin/pkg_add/pkg_add5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/pkg_add b/usr.sbin/pkg_add/pkg_add
index 8223c138029..9113776674e 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.468 2010/01/11 13:40:58 espie Exp $
+# $OpenBSD: pkg_add,v 1.469 2010/01/12 10:57:05 espie Exp $
#
# Copyright (c) 2003-2010 Marc Espie <espie@openbsd.org>
#
@@ -240,8 +240,7 @@ sub complete
$set->move_kept($o);
$o->{tweaked} =
OpenBSD::Add::tweak_package_status($pkgname, $state);
- $state->say("Not reinstalling $pkgname")
- if $state->verbose >= 2 and !$n->{tweaked};
+ $state->updater->progress_message($state, "No need to reinstall $pkgname");
delete $set->{newer}->{$pkgname};
$n->cleanup;
}