Fix logic of pkgmgrinfo_save_cert_info 95/78595/1
authorSangyoon Jang <s89.jang@samsung.com>
Tue, 5 Jul 2016 08:58:30 +0000 (17:58 +0900)
committerSangyoon Jang <s89.jang@samsung.com>
Wed, 6 Jul 2016 07:18:17 +0000 (16:18 +0900)
commit84834dc0f55cfcececeea11e8cbe049ab2def765
treef4db04307efe1fd4bee9bca6626026a55e3acf7c
parente6fef9275fceae2e781e029963733844ab9649cb
Fix logic of pkgmgrinfo_save_cert_info

pkgmgrinfo_save_cert_info now increasing package count(added)
when calling with same pkgid instead of overriding cert info.
Normally overriding cert info is not allowed behavior, it used to
running TCT or testing by inhouse developer.

Change-Id: I648066ae3cfe89888cfd9dad3e8a6a24886883cd
Signed-off-by: Sangyoon Jang <s89.jang@samsung.com>
parser/pkgmgr_parser_db.c
src/pkgmgrinfo_certinfo.c
src/pkgmgrinfo_db.c