Fixed installation hybrid web app.
authorSoyoung Kim <sy037.kim@samsung.com>
Tue, 11 Jun 2013 05:54:49 +0000 (14:54 +0900)
committerSoyoung Kim <sy037.kim@samsung.com>
Tue, 11 Jun 2013 05:57:18 +0000 (14:57 +0900)
[Issue#] N/A
[Problem] can't install hybrid web app.
[Cause] wrong comparison
[Solution] fixed comparison.
[SCMRequest] N/A

Change-Id: I67fb358f683a82dc3d601c86148dc47705ef2687

src/jobs/widget_install/task_manifest_file.cpp

index e94475d..652d87f 100755 (executable)
@@ -598,7 +598,7 @@ void TaskManifestFile::stepParseManifest()
         DPL::ToUTF8String(manifest_name);
 
     if (!access(commit_manifest.c_str(), F_OK) == 0 &&
-            !access(preload_manifest.c_str(), F_OK)) {
+            !access(preload_manifest.c_str(), F_OK) == 0) {
         commitManifest();
         code = pkgmgr_parser_parse_manifest_for_installation(
                 commit_manifest.c_str(), (updateTags[0] == NULL) ? NULL : updateTags);