fixed pkg type bug
authorJaeho Lee <jaeho81.lee@samsung.com>
Fri, 14 Dec 2012 13:52:51 +0000 (22:52 +0900)
committerJaeho Lee <jaeho81.lee@samsung.com>
Fri, 14 Dec 2012 13:52:51 +0000 (22:52 +0900)
Signed-off-by: Jaeho Lee <jaeho81.lee@samsung.com>
am_daemon/amd_appinfo.c
packaging/aul.spec

index f016739..58c436c 100755 (executable)
@@ -147,7 +147,7 @@ static int __app_info_insert_handler (const pkgmgrinfo_appinfo_h handle, void *d
        r = pkgmgrinfo_appinfo_get_apptype(handle, &type);
        if(strncmp(type, "capp", 4) == 0 ) {
                c->val[_AI_TYPE] = strdup("rpm");
-       } else if (strncmp(type, "c++app", 6) == 0 || strncmp(type, "ospapp", 6)) {
+       } else if (strncmp(type, "c++app", 6) == 0 || strncmp(type, "ospapp", 6) == 0) {
                c->val[_AI_TYPE] = strdup("tpk");
        } else if (strncmp(type, "webapp", 6) == 0) {
                c->val[_AI_TYPE] = strdup("wgt");
index 23bfcac..dd0fa5d 100644 (file)
@@ -1,6 +1,6 @@
 Name:       aul
 Summary:    App utility library
-Version:    0.0.219
+Version:    0.0.220
 Release:    1
 Group:      System/Libraries
 License:    Apache License, Version 2.0