From: Michael Matz Date: Thu, 3 Apr 2008 22:46:36 +0000 (+0000) Subject: Generate cache path, for deptestomatic it's not the parent dir of raw X-Git-Tag: BASE-SuSE-Linux-11_0-Branch~360 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9f0f864a33f7b9cc739c2b9b2529e079300c4fae;p=platform%2Fupstream%2Flibzypp.git Generate cache path, for deptestomatic it's not the parent dir of raw cache path. --- diff --git a/zypp/RepoManager.cc b/zypp/RepoManager.cc index 73d281c..9f8cbab 100644 --- a/zypp/RepoManager.cc +++ b/zypp/RepoManager.cc @@ -677,6 +677,7 @@ namespace zypp assert_alias(info); Pathname rawpath = rawcache_path_for_repoinfo(_pimpl->options, info); + filesystem::assert_dir(_pimpl->options.repoCachePath); Pathname base = _pimpl->options.repoCachePath + info.escaped_alias(); Pathname solvfile = base.extend(".solv"); @@ -904,6 +905,7 @@ namespace zypp void RepoManager::setCacheStatus( const string &alias, const RepoStatus &status ) { + filesystem::assert_dir(_pimpl->options.repoCachePath); Pathname base = _pimpl->options.repoCachePath + alias; Pathname cookiefile = base.extend(".cookie");