Fix update logic for preloaded app
authorTomasz Iwanek <t.iwanek@samsung.com>
Thu, 12 Sep 2013 15:14:21 +0000 (17:14 +0200)
committerSoo-Hyun Choi <sh9.choi@samsung.com>
Thu, 12 Sep 2013 23:47:44 +0000 (08:47 +0900)
commit044ed315226875558e67f819416c1eaa1e06c9dd
tree1038e1c13362cde2de81502c324acb4acc1d7a8a
parentd8f04cecb09a8624d03fdb19fd2d2c97f82be8a0
Fix update logic for preloaded app

[Issue#]   LINUXWRT-864
[Problem]  Preloader/RO app fails to update
[Cause]    Shared directory tried to be copied
[Solution] "shared" direcotry is already always on RW partion (/opt/usr) so no need "moving".

[Verification] Install and update:
    - preloaded app (run any app wrt-installer -ip [.wgt] (for update same))
    - normal app (run any app wrt-installer -i [.wgt] (for update same))

Change-Id: Ia6feb9a9fb41d3256290f61eee9da7c161d53f36
src/jobs/widget_install/task_ace_check.cpp
src/jobs/widget_install/task_file_manipulation.cpp
src/jobs/widget_install/task_smack.cpp
src/jobs/widget_uninstall/job_widget_uninstall.cpp