emptybaseurls = true;
repo::RepoMirrorList *rmirrorlist = NULL;
+ DBG << "MetadataPath: " << metadatapath << endl;
if( metadatapath.empty() )
rmirrorlist = new repo::RepoMirrorList (getmirrorListUrl() );
else
tmpfile = access.provideFile(filepath);
zypp::filesystem::copy(tmpfile, cachefile);
+ DBG << "Copy MirrorList file to " << cachefile << endl;
}
if ( url.asString().find("/metalink") != string::npos )
setUrls( my_urls );
if( urls.empty() )
+ {
+ DBG << "Removing Cachefile as it contains no URLs" << endl;
zypp::filesystem::unlink(cachefile);
+ }
}
RepoMirrorList::RepoMirrorList( const Url &url )