projects
/
platform
/
core
/
appfw
/
app-installers.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6df69cb
)
Prevent unintentioanl removing recovery files
58/322458/2
author
Sangyoon Jang
<jeremy.jang@samsung.com>
Wed, 9 Apr 2025 08:03:31 +0000
(17:03 +0900)
committer
Sangyoon Jang
<jeremy.jang@samsung.com>
Fri, 18 Apr 2025 04:44:54 +0000
(
04:44
+0000)
Change-Id: Ibdf27779c71d39a71328ac9580014704574b3581
Signed-off-by: Sangyoon Jang <jeremy.jang@samsung.com>
src/common/installer/app_installer.cc
patch
|
blob
|
history
diff --git
a/src/common/installer/app_installer.cc
b/src/common/installer/app_installer.cc
index a36cbd23974b6a58065a2bd638e816692e30a743..07f7ea8ef621e9f48697c47b7b8de79c0db0d9ce 100644
(file)
--- a/
src/common/installer/app_installer.cc
+++ b/
src/common/installer/app_installer.cc
@@
-970,7
+970,10
@@
void AppInstaller::RemoveUnnecessaryRecoveryFiles() {
<< "] has been completed, so remove unnecessary recovery file["
<< it.second << "]";
Remove(it.second);
+ continue;
}
+
+ recovery_file->set_keep_recovery_file(true);
}
}