Temporary repository catalog file is now removed after no longer needed
This commit is contained in:
parent
71f66668bf
commit
40fd616e5d
@ -192,11 +192,10 @@ wxXmlDocument* wxUpdCheckThread::GetCatalogue()
|
|||||||
wxScopedPtr<wxXmlDocument> doc(new wxXmlDocument());
|
wxScopedPtr<wxXmlDocument> doc(new wxXmlDocument());
|
||||||
if (!doc->Load(fileName, "UTF-8", wxXMLDOC_KEEP_WHITESPACE_NODES)) {
|
if (!doc->Load(fileName, "UTF-8", wxXMLDOC_KEEP_WHITESPACE_NODES)) {
|
||||||
wxLogWarning(_("Error loading repository catalogue."));
|
wxLogWarning(_("Error loading repository catalogue."));
|
||||||
http.Close();
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
m_config.Write(wxT("CatalogueLastModified"), http.GetHeader(wxT("Last-Modified")));
|
m_config.Write(wxT("CatalogueLastModified"), http.GetHeader(wxT("Last-Modified")));
|
||||||
http.Close();
|
wxRemoveFile(fileName);
|
||||||
|
|
||||||
wxLogStatus(_("Verifying repository catalogue signature..."));
|
wxLogStatus(_("Verifying repository catalogue signature..."));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user