]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/acquire-method.cc
merge lp:~mvo/apt/ubuntu-mirror-method-improvements
[apt.git] / apt-pkg / acquire-method.cc
index 150fbb77b8a5663f6b4da0e658c4300678d7c322..6e021a445709233553c27450e0b869f454662729 100644 (file)
@@ -381,6 +381,7 @@ int pkgAcqMethod::Run(bool Single)
            if (StrToTime(LookupTag(Message,"Last-Modified"),Tmp->LastModified) == false)
               Tmp->LastModified = 0;
            Tmp->IndexFile = StringToBool(LookupTag(Message,"Index-File"),false);
+           Tmp->FailIgnore = StringToBool(LookupTag(Message,"Fail-Ignore"),false);
            Tmp->Next = 0;
            
            // Append it to the list
@@ -451,7 +452,6 @@ void pkgAcqMethod::Status(const char *Format,...)
       exit(100);
 }
                                                                        /*}}}*/
-
 // AcqMethod::Redirect - Send a redirect message                       /*{{{*/
 // ---------------------------------------------------------------------
 /* This method sends the redirect message and also manipulates the queue
@@ -483,7 +483,6 @@ void pkgAcqMethod::Redirect(const string &NewURI)
       QueueBack = I->Next;
 }
                                                                         /*}}}*/
-
 // AcqMethod::FetchResult::FetchResult - Constructor                   /*{{{*/
 // ---------------------------------------------------------------------
 /* */