Fix the bug of upgrading package.
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 3 Apr 2014 08:21:58 +0000 (17:21 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Fri, 4 Apr 2014 01:17:26 +0000 (10:17 +0900)
commitfc275aaec7ba399421db3a20e153b5b88c8c3605
tree6d63d953d025721ccb3d1d6751ead8c5a2dcb9e9
parentce6c41e07c84f0039509430c72063495647e8af3
Fix the bug of upgrading package.

While upgrading packages, the instance's update period doesn't updated correctly.
This patch will apply the new update period.

But if the instance's update period is changed manually, (that is not same with in the XML),
the master will not touch it.

Only if the period is same with orignal value in the old XML, will be updated to the new value.

Change-Id: I4e8e9f8a104a3010b6261ab77770960463051c84
include/instance.h
packaging/data-provider-master.spec
src/instance.c
src/package.c
src/xmonitor.c