Browse Source

* apt-pkg/algorithms.cc:

- add APT::Update::Post-Invoke-Success script slot
tags/debian/0.7.21
Michael Vogt 13 years ago
parent
commit
e06c72cd8d
2 changed files with 7 additions and 1 deletions
  1. +5
    -1
      apt-pkg/algorithms.cc
  2. +2
    -0
      debian/changelog

+ 5
- 1
apt-pkg/algorithms.cc View 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;
}


+ 2
- 0
debian/changelog View File

@@ -16,6 +16,8 @@ apt (0.7.11) UNRELEASED; urgency=low
* apt-pkg/deb/dpkgpm.cc:
- merged patch from Kees Cook to fix anoying upper-case display
on amd64 in sbuild
* apt-pkg/algorithms.cc:
- add APT::Update::Post-Invoke-Success script slot

-- Michael Vogt <michael.vogt@ubuntu.com> Thu, 10 Jan 2008 12:06:12 +0100



Loading…
Cancel
Save