- duh, screwed up the quiet-logic in previous commit
authorpmatilai <pmatilai>
Sun, 6 Aug 2006 05:55:33 +0000 (05:55 +0000)
committerpmatilai <pmatilai>
Sun, 6 Aug 2006 05:55:33 +0000 (05:55 +0000)
apt-pkg/rpm/rpmpm.cc

index e58c582..a7ea2ef 100644 (file)
@@ -820,10 +820,10 @@ bool pkgRPMLibPM::Process(vector<const char*> &install,
    }
 
    notifyFlags |= INSTALL_LABEL;
    }
 
    notifyFlags |= INSTALL_LABEL;
-   if (Interactive == true && _config->FindI("quiet",0) < 1) {
-       notifyFlags |= INSTALL_HASH;
-   } else {
+   if (Interactive == false) {
        notifyFlags |= INSTALL_PERCENT;
        notifyFlags |= INSTALL_PERCENT;
+   } else if (_config->FindI("quiet",0) < 1) {
+       notifyFlags |= INSTALL_HASH;
    }
 
    if (uninstall.empty() == false)
    }
 
    if (uninstall.empty() == false)