Commit bd03b2e5 authored by pycage's avatar pycage

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

parent 202ab281
......@@ -418,6 +418,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