From 76ad61ffe9631088324f1842fadfc6c7d36a130a Mon Sep 17 00:00:00 2001 From: Sangyoon Jang Date: Fri, 1 Jul 2016 14:27:35 +0900 Subject: [PATCH] Fix sending upgrade event Change-Id: I1ecf7a0b3a283c2e3a6bffff838fd6f083043ad7 Signed-off-by: Sangyoon Jang --- installer/pkgmgr_installer.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/installer/pkgmgr_installer.c b/installer/pkgmgr_installer.c index 35974fc..9c8f0a0 100644 --- a/installer/pkgmgr_installer.c +++ b/installer/pkgmgr_installer.c @@ -545,7 +545,8 @@ pkgmgr_installer_send_signal(pkgmgr_installer *pi, return -1; } - if (strcmp(key, PKGMGR_INSTALLER_UPGRADE_EVENT_STR) == 0) + if (strcmp(key, PKGMGR_INSTALLER_START_KEY_STR) == 0 && + strcmp(val, PKGMGR_INSTALLER_UPGRADE_EVENT_STR) == 0) pi->request_type = PKGMGR_REQ_UPGRADE; r = __send_signal_for_event(pi, pkg_type, pkgid, key, val); -- 2.34.1