Sfoglia il codice sorgente

apt-pkg/deb/dpkgpm.cc:
- comment out dpkg trigger messages, those seem to be not generated by
dpkg over the status fd

Michael Vogt 19 anni fa
parent
commit
646501c8fd
1 ha cambiato i file con 4 aggiunte e 1 eliminazioni
  1. 4 1
      apt-pkg/deb/dpkgpm.cc

+ 4 - 1
apt-pkg/deb/dpkgpm.cc

@@ -529,17 +529,20 @@ bool pkgDPkgPM::Go(int OutStatusFd)
       { 
 	 {"unpacked",N_("Preparing to configure %s") },
 	 {"half-configured", N_("Configuring %s") },
+#if 0
 	 {"triggers-awaited", N_("Processing triggers for %s") },
 	 {"triggers-pending", N_("Processing triggers for %s") },
-	 {"half-configured", N_("Configuring %s") },
+#endif
 	 { "installed", N_("Installed %s")},
 	 {NULL, NULL}
       },
       // Remove operation
       { 
 	 {"half-configured", N_("Preparing for removal of %s")},
+#if 0
 	 {"triggers-awaited", N_("Preparing for removal of %s")},
 	 {"triggers-pending", N_("Preparing for removal of %s")},
+#endif
 	 {"half-installed", N_("Removing %s")},
 	 {"config-files",  N_("Removed %s")},
 	 {NULL, NULL}