Commit ed599e38 by pycage

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

1 parent 397d7fdc
......@@ -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 ) ) )
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!