diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2022-07-29 14:26:46 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2022-07-29 14:26:46 +0000 |
commit | 96f6b066f4103c5253678ce445ecdffc7e0df1e2 (patch) | |
tree | d4552aaeb927acd0377d182d4a42d8ca7458a37f /usr.sbin/pkg_add/OpenBSD | |
parent | 94a0c1e394b9050319e93c79f5a5c9b044b83847 (diff) |
don't leave user guessing after latest "no need to update"
show a "processing" message when we're actually grabbing data
(often from the net). This should be really quick in most cases,
but sometimes, it might take minutes (like for texlive), so that
we know what's going on.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index ee0d7375f87..26d74892d75 100644 --- a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm +++ b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm @@ -1,7 +1,7 @@ #! /usr/bin/perl # ex:ts=8 sw=4: -# $OpenBSD: PkgAdd.pm,v 1.137 2022/06/06 08:03:32 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.138 2022/07/29 14:26:45 espie Exp $ # # Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org> # @@ -992,6 +992,8 @@ sub process_set return (); } + $set->setup_header($state, undef, "processing"); + $state->progress->message("..."); $set->precomplete($state); for my $handle ($set->newer) { if ($state->tracker->is_installed($handle->pkgname)) { |