summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2018-12-10 19:19:05 +0000
committerMarc Espie <espie@cvs.openbsd.org>2018-12-10 19:19:05 +0000
commit2af3b30df5f16db410e73d03b01f26afcb99a5ed (patch)
tree6604116292a035593313e6046d25605c1dff6753 /usr.sbin/pkg_add
parent6bedfede5143270185d36d1130d667f266793818 (diff)
advance the progress meter while skipping remaning files
this gets rid of the "hung" impression on updating texlive, since most files match, and the packages are so gigantisch the meter appears to stay at 0% forever.
Diffstat (limited to 'usr.sbin/pkg_add')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Add.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Add.pm b/usr.sbin/pkg_add/OpenBSD/Add.pm
index 2e58b3f1af2..b3ddc97cb44 100644
--- a/usr.sbin/pkg_add/OpenBSD/Add.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Add.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Add.pm,v 1.177 2018/09/04 14:46:12 espie Exp $
+# $OpenBSD: Add.pm,v 1.178 2018/12/10 19:19:04 espie Exp $
#
# Copyright (c) 2003-2014 Marc Espie <espie@openbsd.org>
#
@@ -128,6 +128,7 @@ sub perform_extraction
if (keys %$wanted == 0) {
for my $e (values %$tied) {
$e->tie($state);
+ $p->advance($e);
}
if (keys %$tied > 0) {
$handle->{location}{early_close} = 1;