]> git.saurik.com Git - apt.git/commitdiff
* apt-pkg/algorithms.cc:
authorMichael Vogt <michael.vogt@ubuntu.com>
Thu, 21 Feb 2008 14:03:30 +0000 (15:03 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Thu, 21 Feb 2008 14:03:30 +0000 (15:03 +0100)
  - add APT::Update::Post-Invoke-Success script slot
    (LP: #188127)

apt-pkg/algorithms.cc
configure.in
debian/changelog

index 625b49c3d133ee51bd3d17c78d7a2187ccd58199..158564baf830bceebace64adc1fccf08dbf62a25 100644 (file)
@@ -1371,7 +1371,11 @@ bool ListUpdate(pkgAcquireStatus &Stat,
       return _error->Error(_("Some index files failed to download, they have been ignored, or old ones used instead."));
 
 
-   // Run the scripts if all was fine
+   // Run the success scripts if all was fine
+   if(!TransientNetworkFailure && !Failed)
+      RunScripts("APT::Update::Post-Invoke-Success");
+
+   // Run the other scripts
    RunScripts("APT::Update::Post-Invoke");
    return true;
 }
index 2e3fa05e88f313a3c657a8b0f330cdbd1d3ee250..252018e37a3c6a71d1ff26ab621407290cf8e489 100644 (file)
@@ -18,7 +18,7 @@ AC_CONFIG_AUX_DIR(buildlib)
 AC_CONFIG_HEADER(include/config.h:buildlib/config.h.in include/apti18n.h:buildlib/apti18n.h.in)
 
 dnl -- SET THIS TO THE RELEASE VERSION --
-AC_DEFINE_UNQUOTED(VERSION,"0.7.9ubuntu10")
+AC_DEFINE_UNQUOTED(VERSION,"0.7.9ubuntu11")
 PACKAGE="apt"
 AC_DEFINE_UNQUOTED(PACKAGE,"$PACKAGE")
 AC_SUBST(PACKAGE)
index 3822c6a4eaa2cd81cfe56c581ecd152b8de8da04..c1743a8b2c6843259ea363ff7497662fc084b614 100644 (file)
@@ -1,10 +1,18 @@
-apt (0.7.9ubuntu11) hardy; urgency=low
+apt (0.7.9ubuntu12) hardy; urgency=low
 
   * debian/apt.cron.daily:
     - use admin user proxy settings
 
  --
 
+apt (0.7.9ubuntu11) hardy; urgency=low
+
+  * apt-pkg/algorithms.cc: 
+    - add APT::Update::Post-Invoke-Success script slot
+      (LP: #188127)
+
+ -- Michael Vogt <michael.vogt@ubuntu.com>  Thu, 10 Jan 2008 12:06:12 +0100
+
 apt (0.7.9ubuntu10) hardy; urgency=low
 
   * cmdline/apt-key: