From 6a85f4923a5c65b1bc318c6b2edd9b18e4d8eddc Mon Sep 17 00:00:00 2001 From: espie Date: Fri, 30 Jul 2010 10:06:44 +0000 Subject: [PATCH] fix header during update --- usr.sbin/pkg_add/OpenBSD/PkgAdd.pm | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm b/usr.sbin/pkg_add/OpenBSD/PkgAdd.pm index 7984c2cfae7..97e762f9cd9 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.9 2010/06/30 10:51:04 espie Exp $ +# $OpenBSD: PkgAdd.pm,v 1.10 2010/07/30 10:06:44 espie Exp $ # # Copyright (c) 2003-2010 Marc Espie # @@ -828,6 +828,8 @@ sub install_set $set = $set->real_set; + $state->progress->set_header('Checking packages'); + if ($set->{finished}) { return (); } @@ -1056,7 +1058,7 @@ sub main { my ($self, $state) = @_; - $state->progress->set_header("Checking packages"); + $state->progress->set_header(''); if ($state->{allow_replacing}) { do_quirks($state); } -- 2.20.1