From: Dominik Heidler Date: Mon, 18 Oct 2010 10:04:21 +0000 (+0200) Subject: Allow usage of RepoVariables ($basearch and $releasever) in mirrorlist X-Git-Tag: 8.7.1~9 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=131b90b2217c24f509c846682c6ba40cb1b0d6cf;p=platform%2Fupstream%2Flibzypp.git Allow usage of RepoVariables ($basearch and $releasever) in mirrorlist URLs --- diff --git a/zypp/RepoInfo.cc b/zypp/RepoInfo.cc index da619dc..79c7a7a 100644 --- a/zypp/RepoInfo.cc +++ b/zypp/RepoInfo.cc @@ -206,7 +206,10 @@ namespace zypp { return _pimpl->type; } Url RepoInfo::mirrorListUrl() const - { return _pimpl->mirrorlist_url; } + { + repo::RepoVariablesUrlReplacer replacer; + return replacer(_pimpl->mirrorlist_url); + } Url RepoInfo::gpgKeyUrl() const { return _pimpl->gpgkey_url; }