]> git.saurik.com Git - apt.git/blobdiff - apt-private/acqprogress.cc
new quiet level -qq for apt to hide progress output
[apt.git] / apt-private / acqprogress.cc
index 62b2c13d0b55628df13be66db665ad72a46f9739..dcc538a3969b4eb168b14244827c178b668df4fc 100644 (file)
@@ -37,6 +37,8 @@ AcqTextStatus::AcqTextStatus(std::ostream &out, unsigned int &ScreenWidth,unsign
    // testcases use it to disable pulses without disabling other user messages
    if (Quiet == 0 && _config->FindB("quiet::NoUpdate", false) == true)
       this->Quiet = 1;
+   if (Quiet < 2 && _config->FindB("quiet::NoProgress", false) == true)
+      this->Quiet = 2;
 }
                                                                        /*}}}*/
 // AcqTextStatus::Start - Downloading has started                      /*{{{*/