implement pkg move 21/64121/5 submit/tizen/20160418.112441
authorJunghyun Yeon <jungh.yeon@samsung.com>
Wed, 30 Mar 2016 07:14:56 +0000 (16:14 +0900)
committerJunghyun Yeon <jungh.yeon@samsung.com>
Mon, 18 Apr 2016 07:13:59 +0000 (16:13 +0900)
changes are applied in these repos
[pkgmgr-tool] https://review.tizen.org/gerrit/#/c/64121/
[slp-pkgmgr] https://review.tizen.org/gerrit/#/c/64122/
[pkgmgr-server] https://review.tizen.org/gerrit/#/c/64123/

Change-Id: I9735f22fc48d48e80979442a8d49e80663c5e6f6
Signed-off-by: Junghyun Yeon <jungh.yeon@samsung.com>
src/pkg_cmd.c

index 62e02b814fd80f7c3bf2d866476d1c1b5dde8cee..7d9e67f4d97e17381bc83eb25e9faa42590fbc2d 100644 (file)
@@ -786,7 +786,8 @@ static int __process_request(uid_t uid)
                        printf("package is not installed\n");
                        break;
                }
-               ret = pkgmgr_client_usr_request_service(PM_REQUEST_MOVE, data.type, pc, NULL, data.pkgid, uid, NULL, NULL, NULL);
+               ret = pkgmgr_client_usr_request_service(PM_REQUEST_MOVE, data.type, pc,
+                               data.pkg_type, data.pkgid, uid, NULL, NULL, NULL);
 
                printf("pkg[%s] move result = %d\n", data.pkgid, ret);