From 9f0f864a33f7b9cc739c2b9b2529e079300c4fae Mon Sep 17 00:00:00 2001 From: Michael Matz Date: Thu, 3 Apr 2008 22:46:36 +0000 Subject: [PATCH] Generate cache path, for deptestomatic it's not the parent dir of raw cache path. --- zypp/RepoManager.cc | 2 ++ 1 file changed, 2 insertions(+) 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"); -- 2.7.4