release
authorHyejin Kim <hyejin0906.kim@samsung.com>
Thu, 15 Nov 2012 09:29:16 +0000 (18:29 +0900)
committerHyejin Kim <hyejin0906.kim@samsung.com>
Thu, 15 Nov 2012 09:29:16 +0000 (18:29 +0900)
setting-common/src/setting-cfg.c

index fa2cf55..8271bf4 100755 (executable)
@@ -683,8 +683,9 @@ bool is_ug_installed_by_ug_args(void *data)
             //return FALSE;
             is_installed_in_usr = false;
         }
-    }
-    is_installed_in_usr = true;
+    } else {
+          is_installed_in_usr = true;
+       }
 
     //2.first do exist-checking in /opt/ug/lib
     //char ug_file[PATH_MAX + 1];
@@ -702,10 +703,10 @@ bool is_ug_installed_by_ug_args(void *data)
             //return FALSE;
             is_installed_in_opt = false;
         }
-    }
-    is_installed_in_opt = true;
-
-    return (is_installed_in_opt || is_installed_in_opt);
+    } else {
+               is_installed_in_opt = true;
+       }
+    return (is_installed_in_usr || is_installed_in_opt);
 }
 
 /*other relative function*/