[Release] wrt-installer_0.1.85
[platform/framework/web/wrt-installer.git] / src / jobs / widget_install / task_install_ospsvc.cpp
index 30c8101..0ef8990 100644 (file)
@@ -116,14 +116,7 @@ void TaskInstallOspsvc::StepUpdateManifestFile()
         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) {