SDB: Supported coretpk app type for 'sdb uninstall' command 47/32747/1
authorshingil.kang <shingil.kang@samsung.com>
Tue, 28 Oct 2014 12:50:59 +0000 (21:50 +0900)
committershingil.kang <shingil.kang@samsung.com>
Tue, 23 Dec 2014 11:05:19 +0000 (20:05 +0900)
Change-Id: I5d0b02064ec13725b2a83114cbbe3ae605394178
Signed-off-by: shingil.kang <shingil.kang@samsung.com>
src/command_function.c

index 526f3e5aecceeca44c9a914f017fbde3b87bab1b..4f03c5bd2852b8ba21e3739fe42ab3f88e782a32 100644 (file)
@@ -791,7 +791,7 @@ static int get_pkgtype_from_app_id(const char* app_id) {
         *end_line = '\0';
     }
 
-    if(strstr(buf, "[tpk]") != NULL) {
+    if(strstr(buf, "[tpk]") != NULL || strstr(buf, "[coretpk]") != NULL) {
         result = 1;
     }
     else if(strstr(buf, "[wgt]") != NULL) {