ref: refs/heads/master
commit a82524259bc92423daf45fd56cdb5d70856d7ee4
Author: Michael Andres
Date: Fri Nov 6 19:59:11 2009 +0100
Immediately update RepoInfos.
---
zypp/RepoInfo.cc | 3 +++
zypp/RepoManager.cc | 3 +++
2 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/zypp/RepoInfo.cc b/zypp/RepoInfo.cc
index 0567ad7..29924d3 100644
--- a/zypp/RepoInfo.cc
+++ b/zypp/RepoInfo.cc
@@ -382,6 +382,9 @@ namespace zypp
if (!metadataPath().empty())
str << "- metadataPath: " << metadataPath() << std::endl;
+ if (!packagesPath().empty())
+ str << "- packagesPath: " << packagesPath() << std::endl;
+
return str;
}
diff --git a/zypp/RepoManager.cc b/zypp/RepoManager.cc
index c817854..7ec5bbb 100644
--- a/zypp/RepoManager.cc
+++ b/zypp/RepoManager.cc
@@ -1352,6 +1352,9 @@ namespace zypp
tosave.dumpAsIniOn(file);
tosave.setFilepath(repofile);
+ tosave.setMetadataPath( metadataPath( tosave ) );
+ tosave.setPackagesPath( packagesPath( tosave ) );
+
_pimpl->repos.insert(tosave);
progress.set(90);
--
To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org
For additional commands, e-mail: zypp-commit+help@opensuse.org