Add StepCreatePerUserStorageDirectories to installation step 30/59530/8
authorArkadiusz Szulakiewicz <a.szulakiewi@partner.samsung.com>
Tue, 16 Feb 2016 09:07:24 +0000 (10:07 +0100)
committerTomasz Iwanek <t.iwanek@samsung.com>
Tue, 23 Feb 2016 10:56:29 +0000 (02:56 -0800)
Change-Id: If0a11756e3cafdc7aa8805c675b0e07f571625ff

src/hybrid/hybrid_installer.cc
src/wgt/wgt_installer.cc

index 534a98091426d50e213d9093214c5d8ef4ff7485..7f875b3fc7171766f5e127260339d76f50db726f 100644 (file)
@@ -14,6 +14,7 @@
 #include <common/step/step_clear_data.h>
 #include <common/step/step_create_icons.h>
 #include <common/step/step_create_storage_directories.h>
+#include <common/step/step_create_per_user_storage_directories.h>
 #include <common/step/step_delta_patch.h>
 #include <common/step/step_fail.h>
 #include <common/step/step_kill_apps.h>
@@ -95,6 +96,7 @@ HybridInstaller::HybridInstaller(common_installer::PkgMgrPtr pkgmgr)
           ci::PluginsLauncher::ActionType::Install);
       AddStep<ci::pkgmgr::StepRegisterApplication>();
       AddStep<ci::security::StepRegisterSecurity>();
+      AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
       break;
     case ci::RequestType::Update:
       AddStep<ci::configuration::StepConfigure>(pkgmgr_);
index d3ca73243b107cfd7fbeb160c748a927c1496e46..4d3d84a535698b0005c6337a2f280e145269212d 100644 (file)
@@ -11,6 +11,7 @@
 #include <common/step/step_check_blacklist.h>
 #include <common/step/step_create_icons.h>
 #include <common/step/step_create_storage_directories.h>
+#include <common/step/step_create_per_user_storage_directories.h>
 #include <common/step/step_clear_data.h>
 #include <common/step/step_copy.h>
 #include <common/step/step_copy_backup.h>
@@ -92,6 +93,7 @@ WgtInstaller::WgtInstaller(ci::PkgMgrPtr pkgrmgr)
       AddStep<ci::pkgmgr::StepRegisterApplication>();
       AddStep<ci::pkgmgr::StepRunParserPlugin>(
           ci::PluginsLauncher::ActionType::Install);
+      AddStep<ci::filesystem::StepCreatePerUserStorageDirectories>();
       AddStep<ci::security::StepRegisterSecurity>();
       break;
     }