Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #11 from nemomobile/do-not-remove-tree-on-overwrite
[unit] to overwrite it is enough to copy
  • Loading branch information
Denis Zalevskiy committed Aug 25, 2014
2 parents c07f37e + fb24d93 commit 31794aa
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/unit.cpp
Expand Up @@ -376,7 +376,6 @@ void Operation::from_vault(QString const &data_type
if (overwrite) {
options["force"] = true;
fn = [src, dst, dst_dir, &options]() {
os::rmtree(dst);
os::cptree(src, dst_dir, std::move(options));
};
} else {
Expand Down

0 comments on commit 31794aa

Please sign in to comment.