projects
/
platform
/
core
/
appfw
/
wgt-backend.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix StepCreateStorageDirectores
[platform/core/appfw/wgt-backend.git]
/
src
/
wgt
/
step
/
filesystem
/
step_create_symbolic_link.cc
diff --git
a/src/wgt/step/filesystem/step_create_symbolic_link.cc
b/src/wgt/step/filesystem/step_create_symbolic_link.cc
index
cbdbb7f
..
a814f04
100644
(file)
--- a/
src/wgt/step/filesystem/step_create_symbolic_link.cc
+++ b/
src/wgt/step/filesystem/step_create_symbolic_link.cc
@@
-42,6
+42,8
@@
bool StepCreateSymbolicLink::CreateSymlinksForApps() {
common_installer::CreateDir(exec_path);
exec_path /= bf::path(app->appid);
+ if (bf::exists(exec_path))
+ bf::remove_all(exec_path);
if (strcmp(app->component_type, "uiapp") == 0) {
bf::create_symlink(bf::path(WRT_LAUNCHER), exec_path, error);