diff options
-rw-r--r-- | src/pkgmgr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/pkgmgr.c b/src/pkgmgr.c index 49f0a86..316148f 100644 --- a/src/pkgmgr.c +++ b/src/pkgmgr.c @@ -208,7 +208,6 @@ static int start_cb(const char *pkgname, const char *val, void *data) } item->status = PKGMGR_STATUS_START; - s_info.item_list = eina_list_append(s_info.item_list, item); if (!strcasecmp(val, "download")) { item->type = PKGMGR_EVENT_DOWNLOAD; @@ -227,6 +226,8 @@ static int start_cb(const char *pkgname, const char *val, void *data) return LB_STATUS_ERROR_INVALID; } + s_info.item_list = eina_list_append(s_info.item_list, item); + invoke_callback(pkgname, item, 0.0f); return LB_STATUS_SUCCESS; } |