]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/contrib/progress.cc
add the possibility to disable only the progress reporting stuff as the
[apt.git] / apt-pkg / contrib / progress.cc
index cffdddc4fe0d70a9f45e3fc5fadd3c73c7944168..45e81edcb3ca3ab7b7f877f799cf7fb1aa9b9633 100644 (file)
@@ -135,7 +135,7 @@ bool OpProgress::CheckChange(float Interval)
 OpTextProgress::OpTextProgress(Configuration &Config) : 
                                NoUpdate(false), NoDisplay(false), LastLen(0) 
 {
-   if (Config.FindI("quiet",0) >= 1)
+   if (Config.FindI("quiet",0) >= 1 || Config.FindB("quiet::NoUpdate", false) == true)
       NoUpdate = true;
    if (Config.FindI("quiet",0) >= 2)
       NoDisplay = true;