summaryrefslogtreecommitdiff
path: root/apt-pkg/acquire-item.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2008-02-04 14:15:17 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2008-02-04 14:15:17 +0100
commit5d149bfc7f34bc39e0edf8d9d98786cadefeeedf (patch)
tree95d8d993ecfc0b2d1f7fc3e5b51d7fcce3f31078 /apt-pkg/acquire-item.cc
parent453a5e964ef7404909132a4c5e9e734026fc93a3 (diff)
add APT::Update::Auth-Failure script
Diffstat (limited to 'apt-pkg/acquire-item.cc')
-rw-r--r--apt-pkg/acquire-item.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/apt-pkg/acquire-item.cc b/apt-pkg/acquire-item.cc
index ad48adcff..a00b0b6d3 100644
--- a/apt-pkg/acquire-item.cc
+++ b/apt-pkg/acquire-item.cc
@@ -1179,6 +1179,7 @@ void pkgAcqMetaIndex::Failed(string Message,pkgAcquire::MethodConfig *Cnf)
"GPG error: %s: %s\n"),
Desc.Description.c_str(),
LookupTag(Message,"Message").c_str());
+ RunScripts("APT::Update::Auth-Failure");
return;
} else {
_error->Warning(_("GPG error: %s: %s"),