Let force_clean work when partialuninstall scenario 78/104378/1
authorJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 13 Dec 2016 08:10:30 +0000 (17:10 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Tue, 13 Dec 2016 08:10:30 +0000 (17:10 +0900)
Change-Id: I1c3af379914298a1ede19ce9f4ce6dbf69884c4c
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/common/step/pkgmgr/step_check_force_clean.cc

index b4dcf97..7768e33 100644 (file)
@@ -84,7 +84,8 @@ namespace common_installer {
 namespace pkgmgr {
 
 Step::Status StepCheckForceClean::process() {
-  if (context_->request_type.get() != RequestType::Uninstall)
+  if (context_->request_type.get() != RequestType::Uninstall &&
+      context_->request_type.get() != RequestType::PartialUninstall)
     return Status::OK;
 
   uid_t uid;