From: Ilho Kim Date: Wed, 2 Sep 2020 06:43:42 +0000 (+0900) Subject: Fix StepWgtPreparePackageDirectory X-Git-Tag: accepted/tizen/6.0/unified/20201030.120134~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=2e93f935ed90190f1bd93d9b32e2b5035c62a793;p=platform%2Fcore%2Fappfw%2Fwgt-backend.git Fix StepWgtPreparePackageDirectory The unpacked dir path should not be changed. The extracted files will be recovered without changing unpacked dir path Change-Id: I696fd99acff2ec8d825188166aa4a9c94b7b6fd6 Signed-off-by: Ilho Kim --- diff --git a/src/wgt/step/filesystem/step_wgt_prepare_package_directory.cc b/src/wgt/step/filesystem/step_wgt_prepare_package_directory.cc index 5b2bb0f..4e90b29 100644 --- a/src/wgt/step/filesystem/step_wgt_prepare_package_directory.cc +++ b/src/wgt/step/filesystem/step_wgt_prepare_package_directory.cc @@ -78,11 +78,6 @@ ci::Step::Status StepWgtPreparePackageDirectory::ExtractEntries() { bf::path backup_path = ci::GetBackupPathForPackagePath(context_->GetPkgPath()); backupPath_ = backup_path; - if (context_->request_type.get() == ci::RequestType::MountUpdate && - context_->recovery_info.get().recovery_file) { - context_->recovery_info.get().recovery_file->set_unpacked_dir(backup_path); - context_->recovery_info.get().recovery_file->WriteAndCommitFileContent(); - } bf::path resource_path = context_->GetPkgPath() / kResWgtDirectory; bs::error_code error;