Fix StepUpdateStorageDirectories 61/177061/2 accepted/tizen/unified/20180427.062445 submit/tizen/20180425.085313
authorSangyoon Jang <jeremy.jang@samsung.com>
Wed, 25 Apr 2018 05:10:23 +0000 (14:10 +0900)
committerSangyoon Jang <jeremy.jang@samsung.com>
Wed, 25 Apr 2018 05:24:32 +0000 (14:24 +0900)
This step should not do anything when global installation mode.

Change-Id: Ibb2f6093badde0ecb28d4a53b04291e8aad9e7e0
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/common/step/filesystem/step_update_storage_directories.cc

index 8fe5860..ddbb2d4 100644 (file)
@@ -42,6 +42,9 @@ namespace common_installer {
 namespace filesystem {
 
 Step::Status StepUpdateStorageDirectories::process() {
+  if (context_->request_mode.get() == RequestMode::GLOBAL)
+    return common_installer::Step::Status::OK;
+
   manifest_x* manifest = context_->manifest_data.get();
 
   if (!manifest) {