projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2efa996
)
failover to mirrorlist url when checking schemeIsDownloading
author
Dominik Heidler
<dheidler@suse.de>
Tue, 21 Dec 2010 14:49:06 +0000
(15:49 +0100)
committer
Dominik Heidler
<dheidler@suse.de>
Tue, 21 Dec 2010 14:49:06 +0000
(15:49 +0100)
zypp/RepoInfo.cc
patch
|
blob
|
history
diff --git
a/zypp/RepoInfo.cc
b/zypp/RepoInfo.cc
index
c1a66c9
..
adfb9c0
100644
(file)
--- a/
zypp/RepoInfo.cc
+++ b/
zypp/RepoInfo.cc
@@
-306,7
+306,12
@@
namespace zypp
if (indeterminate(_pimpl->keeppackages))
{
if (_pimpl->baseUrls().empty())
- return false;
+ {
+ if ( _pimpl->getmirrorListUrl().schemeIsDownloading() )
+ return true;
+ else
+ return false;
+ }
else if ( baseUrlsBegin()->schemeIsDownloading() )
return true;
else