diff options
author | Julian Andres Klode <jak@debian.org> | 2021-02-09 09:38:19 +0000 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2021-02-09 09:38:19 +0000 |
commit | 4c3383746f2974be5fdec86616f45fd85948a9aa (patch) | |
tree | 7f86beded3142e62e054a1682659db32d503841e | |
parent | 25fbccb5ba5e8748f1be2721609aa04657934f5e (diff) | |
parent | f701eb209fcc94e5b4f80656270d2fa21663b364 (diff) |
Merge branch 'bugfix/deptreedone' into 'master'
Show 'Done' always for 'Building dependency tree'
See merge request apt-team/apt!157
-rw-r--r-- | apt-pkg/depcache.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apt-pkg/depcache.cc b/apt-pkg/depcache.cc index f2b3dbcdc..3444c6a3c 100644 --- a/apt-pkg/depcache.cc +++ b/apt-pkg/depcache.cc @@ -290,8 +290,11 @@ bool pkgDepCache::readStateFile(OpProgress * const Prog) /*{{{*/ state_file.Open(state, FileFd::ReadOnly, FileFd::Extension); off_t const file_size = state_file.Size(); if(Prog != NULL) + { + Prog->Done(); Prog->OverallProgress(0, file_size, 1, _("Reading state information")); + } pkgTagFile tagfile(&state_file); pkgTagSection section; |