Imported Upstream version 16.3.2
[platform/upstream/libzypp.git] / zypp / parser / RepoFileReader.cc
index 25ededf..5c4db23 100644 (file)
@@ -142,6 +142,8 @@ namespace zypp
             info.setAutorefresh( str::strToTrue( it->second ) );
           else if ( it->first == "mirrorlist" && !it->second.empty())
             info.setMirrorListUrl(Url(it->second));
+         else if ( it->first == "metalink" && !it->second.empty())
+           info.setMetalinkUrl(Url(it->second));
           else if ( it->first == "gpgcheck" )
             info.setGpgCheck( str::strToTriBool( it->second ) );
           else if ( it->first == "repo_gpgcheck" )