Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[deltarpm] Ensure that the destination path for applying the delta rp…
…m exists. Fixes JB#31668
  • Loading branch information
pycage committed Oct 21, 2015
1 parent 202ab28 commit bd03b2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libzypp/zypp/repo/PackageProvider.cc
Expand Up @@ -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 ) ) )
Expand Down

0 comments on commit bd03b2e

Please sign in to comment.