manifest_file << ".xml";
LogDebug("manifest file : " << manifest_file.str());
- int ret = pkgmgr_parser_parse_manifest_for_uninstallation(
- manifest_file.str().c_str(), NULL);
-
- if (ret != 0) {
- LogError("Manifest parser error: " << ret);
- }
-
- int code = pkgmgr_parser_parse_manifest_for_installation(
+ int code = pkgmgr_parser_parse_manifest_for_upgrade(
manifest_file.str().c_str(), NULL);
if (code != 0) {