From: Hwankyu Jhun Date: Wed, 12 Feb 2020 23:04:01 +0000 (+0900) Subject: Fix pkginfo tool X-Git-Tag: submit/tizen/20200214.080724~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F44%2F224744%2F2;p=platform%2Fcore%2Fappfw%2Fpkgmgr-tool.git Fix pkginfo tool This patch adds a new condition to check whether the component type is component-based-application or not. Change-Id: I621996fd95f40c5e45d5f1dff8c32df2330d155a Signed-off-by: Hwankyu Jhun --- diff --git a/src/pkg_info.c b/src/pkg_info.c index 6a50d57..42acf57 100644 --- a/src/pkg_info.c +++ b/src/pkg_info.c @@ -1887,10 +1887,12 @@ static int __get_app_info(char *appid) printf("Apptype: %s\n", apptype); if (component == PMINFO_UI_APP || component == PMINFO_WIDGET_APP || - component == PMINFO_WATCH_APP) { + component == PMINFO_WATCH_APP || + component == PMINFO_COMPONENT_BASED_APP) { printf("component: %s\n", component == PMINFO_UI_APP ? "uiapp" : component == PMINFO_WIDGET_APP ? - "widgetapp" : "watchapp"); + "widgetapp" : component == PMINFO_WATCH_APP ? + "watchapp" : "componentbasedapp"); if (icon) printf("Icon: %s\n", icon); if (label)