1 // Copyright (c) 2015 Samsung Electronics Co., Ltd All Rights Reserved
2 // Use of this source code is governed by an apache-2.0 license that can be
3 // found in the LICENSE file.
5 #include "common/step/filesystem/step_recover_external_storage.h"
9 #include "common/utils/file_util.h"
11 namespace fs = std::filesystem;
13 namespace common_installer {
14 namespace filesystem {
16 Step::Status StepRecoverExternalStorage::process() {
17 if (!context_->manifest_data.get()) {
18 RemoveAll(context_->GetPkgPath());
20 (void) StepAcquireExternalStorage::process();
25 } // namespace filesystem
26 } // namespace common_installer