[zypp-commit] r9368 - /trunk/libzypp/zypp/RepoManager.cc
Author: matz Date: Fri Apr 4 00:46:36 2008 New Revision: 9368 URL: http://svn.opensuse.org/viewcvs/zypp?rev=9368&view=rev Log: Generate cache path, for deptestomatic it's not the parent dir of raw cache path. Modified: trunk/libzypp/zypp/RepoManager.cc Modified: trunk/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.cc?rev=9368&r1=9367&r2=9368&view=diff ============================================================================== --- trunk/libzypp/zypp/RepoManager.cc (original) +++ trunk/libzypp/zypp/RepoManager.cc Fri Apr 4 00:46:36 2008 @@ -677,6 +677,7 @@ 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 @@ 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"); -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org
participants (1)
-
matz@svn.opensuse.org