From: espie Date: Fri, 29 Jul 2022 14:26:45 +0000 (+0000) Subject: don't leave user guessing after latest "no need to update" X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=76caf0daf48301f5076abf2e2461f8445ca662d4;p=openbsd 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. --- 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 # @@ -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)) {