diff options
author | Daniel Burrows <dburrows@debian.org> | 2007-12-02 14:36:11 -0800 |
---|---|---|
committer | Daniel Burrows <dburrows@debian.org> | 2007-12-02 14:36:11 -0800 |
commit | 9329998e0511f7a9dc1692c62a74a3bc97fa2237 (patch) | |
tree | 8a17c80bc14b518c96465d11bb4d79c15f03fec9 /src/cmdline/cmdline_util.cc | |
parent | 68208c48f716824f1508ff36b7f35d64f06d13fa (diff) | |
download | aptitude-9329998e0511f7a9dc1692c62a74a3bc97fa2237.tar.gz |
Don't spam the user with cache loading/closing messages in 'update'.
Diffstat (limited to 'src/cmdline/cmdline_util.cc')
-rw-r--r-- | src/cmdline/cmdline_util.cc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/cmdline/cmdline_util.cc b/src/cmdline/cmdline_util.cc index 9319f276..8f90fd70 100644 --- a/src/cmdline/cmdline_util.cc +++ b/src/cmdline/cmdline_util.cc @@ -303,7 +303,8 @@ download_manager::result cmdline_do_download(download_manager *m, // This does exactly what we want: nothing if the cache is // already loaded, and loads the cache with a minimum of frills // otherwise. - apt_load_cache(&progress, false, NULL); + OpProgress tmpProgress; + apt_load_cache(&tmpProgress, false, NULL); initial_stats = compute_apt_stats(); } @@ -324,7 +325,8 @@ download_manager::result cmdline_do_download(download_manager *m, stats final_stats(0, 0, 0); if(aptcfg->FindI("Quiet", 0) == 0) { - apt_load_cache(&progress, false, NULL); + OpProgress tmpProgress; + apt_load_cache(&tmpProgress, false, NULL); final_stats = compute_apt_stats(); show_stats_change(initial_stats, final_stats, verbose >= 1, verbose >= 2); |