summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-02-21 15:03:30 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2008-02-21 15:03:30 +0100
commitb098f0f4e4bf6538182dc7b9127566b483477806 (patch)
tree392178fe13c38081c7ac49b4d1db63ec2fcfad4f
parent1fdd4ac46faf85127aa923ef16220f8951f3f182 (diff)
parente06c72cd8d39433b04883f35dea81619b8464b0e (diff)
* apt-pkg/algorithms.cc:
- add APT::Update::Post-Invoke-Success script slot (LP: #188127)
-rw-r--r--apt-pkg/algorithms.cc6
-rw-r--r--configure.in2
-rw-r--r--debian/changelog10
3 files changed, 15 insertions, 3 deletions
diff --git a/apt-pkg/algorithms.cc b/apt-pkg/algorithms.cc
index 625b49c3d..158564baf 100644
--- a/apt-pkg/algorithms.cc
+++ b/apt-pkg/algorithms.cc
@@ -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;
}
diff --git a/configure.in b/configure.in
index 2e3fa05e8..252018e37 100644
--- a/configure.in
+++ b/configure.in
@@ -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)
diff --git a/debian/changelog b/debian/changelog
index 3822c6a4e..c1743a8b2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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: