Commit cdb7b772 by pycage

Merge branch 'jb31668-libzypp12' into 'upgrade-1.1.9'

Ensure that the destination path for applying the delta rpm exists. Fixes JB#31668

Fixes the issue where applying the first delta rpm from a repository failed, and thus downloading the full rpm.

See merge request !11
parents 397d7fdc ed599e38
......@@ -398,6 +398,8 @@ namespace zypp
// build the package and put it into the cache
Pathname destination( _package->repoInfo().packagesPath() / _package->location().filename() );
// ensure that the destination directory exists
filesystem::assert_dir( destination.dirname() );
if ( ! applydeltarpm::provide( delta, destination,
bind( &RpmPackageProvider::progressDeltaApply, this, _1 ) ) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment