Fix install error with pkgs having no privilege 65/42565/1 accepted/tizen/mobile/20150630.195309 accepted/tizen/tv/20150630.195451 accepted/tizen/wearable/20150630.195640 submit/tizen/20150630.105734
authorYoumin Ha <youmin.ha@samsung.com>
Tue, 30 Jun 2015 06:11:42 +0000 (15:11 +0900)
committerYoumin Ha <youmin.ha@samsung.com>
Tue, 30 Jun 2015 06:38:41 +0000 (15:38 +0900)
commita779c149c7ee3e739bdfdaf6400c4810ab8e42ed
treea1f4e315ecae1da2e53da783b13919745958de8f
parent572c53535fb18085e1e4f3f0e16e7c231480ef10
Fix install error with pkgs having no privilege

If a package has no privilege in its manifest, current code assumes it
as an error, and the installation fails.
This commit fixes it, by skipping privilege validation if there is no
privilege in the package.

Change-Id: I6edb38bcbe5ecba497f8478622b361e867327a66
Signed-off-by: Youmin Ha <youmin.ha@samsung.com>
packaging/app-installers.spec
src/common/step/step_check_signature.cc