summaryrefslogtreecommitdiff
path: root/apt-private/private-download.cc
diff options
context:
space:
mode:
authorMichael Vogt <mvo@ubuntu.com>2014-06-18 10:57:28 +0200
committerMichael Vogt <mvo@ubuntu.com>2014-06-18 10:57:36 +0200
commitae286f57156e344713ec3a50cb8f358953577ca7 (patch)
tree79b3b9a022915c120c69ae674ba117b469f688a9 /apt-private/private-download.cc
parentd6df4c2c0695cb19f471ba4c10b79edb60d14a12 (diff)
merge upload 1.0.1ubuntu2.1
Diffstat (limited to 'apt-private/private-download.cc')
-rw-r--r--apt-private/private-download.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/apt-private/private-download.cc b/apt-private/private-download.cc
index a095f0c67..be7d23c31 100644
--- a/apt-private/private-download.cc
+++ b/apt-private/private-download.cc
@@ -28,6 +28,11 @@ bool CheckAuth(pkgAcquire& Fetcher, bool const PromptUser)
if (UntrustedList == "")
return true;
+ return AuthPrompt(UntrustedList, PromptUser);
+}
+
+bool AuthPrompt(std::string UntrustedList, bool const PromptUser)
+{
ShowList(c2out,_("WARNING: The following packages cannot be authenticated!"),UntrustedList,"");
if (_config->FindB("APT::Get::AllowUnauthenticated",false) == true)