From: Junghyun Yeon Date: Thu, 4 May 2017 00:31:15 +0000 (+0900) Subject: Add update step of directories X-Git-Tag: accepted/tizen/unified/20170519.200038~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F01%2F128001%2F4;p=platform%2Fcore%2Fappfw%2Ftpk-backend.git Add update step of directories Related changes: [app-installers] : https://review.tizen.org/gerrit/#/c/126628/ Change-Id: Id2c2ec97d33a213fcd3b0643588b28cf4fe047f5 Signed-off-by: Junghyun Yeon --- diff --git a/src/tpk/tpk_installer.cc b/src/tpk/tpk_installer.cc index e4aa9f9..1a1cc35 100644 --- a/src/tpk/tpk_installer.cc +++ b/src/tpk/tpk_installer.cc @@ -23,6 +23,8 @@ #include #include #include +#include +#include #include #include #include @@ -232,6 +234,7 @@ void TpkInstaller::UpdateSteps() { AddStep(true); AddStep(); AddStep(); + AddStep(); AddStep(); AddStep(); AddStep(); @@ -242,6 +245,7 @@ void TpkInstaller::UpdateSteps() { AddStep(); AddStep(); AddStep(ci::Plugin::ActionType::Upgrade); + AddStep(); AddStep(); AddStep(); } @@ -338,6 +342,7 @@ void TpkInstaller::DeltaSteps() { AddStep(true); AddStep(); AddStep(); + AddStep(); AddStep(); AddStep(); AddStep(); @@ -348,6 +353,7 @@ void TpkInstaller::DeltaSteps() { AddStep(); AddStep(); AddStep(ci::Plugin::ActionType::Upgrade); + AddStep(); AddStep(); AddStep(); } @@ -444,6 +450,7 @@ void TpkInstaller::MountUpdateSteps() { AddStep(); AddStep(); AddStep(); + AddStep(); AddStep(); AddStep(); AddStep(); @@ -453,6 +460,7 @@ void TpkInstaller::MountUpdateSteps() { AddStep(); AddStep(); AddStep(ci::Plugin::ActionType::Upgrade); + AddStep(); AddStep(true); AddStep(); } @@ -507,6 +515,7 @@ void TpkInstaller::ManifestDirectUpdateSteps() { AddStep(); AddStep(); AddStep(ci::Plugin::ActionType::Upgrade); + AddStep(); AddStep(); AddStep(); } @@ -544,6 +553,7 @@ void TpkInstaller::ManifestPartialUpdateSteps() { AddStep(); AddStep(); AddStep(ci::Plugin::ActionType::Upgrade); + AddStep(); AddStep(); }