Replace pkg_path with GetPkgPath() method in InstallerContext 04/154904/6
authorDamian Pietruchowski <d.pietruchow@samsung.com>
Wed, 11 Oct 2017 11:07:12 +0000 (13:07 +0200)
committerBartlomiej Kunikowski <b.kunikowski@partner.samsung.com>
Wed, 22 Nov 2017 09:40:29 +0000 (09:40 +0000)
commit643ec67a2b474ef1bf50897b7fd46816d3abcb3b
tree5508b4506cee3efacd24720d57886299e69a1fdf
parent87100e24fbb381d5d253f61079ac868fae889b53
Replace pkg_path with GetPkgPath() method in InstallerContext

pkg_path is always equal to root_application_path + pkgid.
Storing this information in separate variable is problematic,
because it requires to remember to update pkg_path after
root_application_path or pkgid is changed.

Submit with:
- https://review.tizen.org/gerrit/#/c/154196/
- https://review.tizen.org/gerrit/#/c/160353/

Change-Id: I3a1a3ddccb041e93f2aa633b19174f1c67a4ff96
Signed-off-by: Damian Pietruchowski <d.pietruchow@samsung.com>
13 files changed:
src/hybrid/step/pkgmgr/step_generate_xml.cc
src/wgt/step/configuration/step_parse.cc
src/wgt/step/configuration/step_parse_recovery.cc
src/wgt/step/filesystem/step_copy_preview_icons.cc
src/wgt/step/filesystem/step_create_symbolic_link.cc
src/wgt/step/filesystem/step_wgt_patch_icons.cc
src/wgt/step/filesystem/step_wgt_patch_storage_directories.cc
src/wgt/step/filesystem/step_wgt_prepare_package_directory.cc
src/wgt/step/filesystem/step_wgt_undo_patch_storage_directories.cc
src/wgt/step/filesystem/step_wgt_update_package_directory.cc
src/wgt/step/pkgmgr/step_generate_xml.cc
src/wgt/step/security/step_check_extension_privileges.cc
src/wgt/step/security/step_wgt_recover_signature.cc