500.context-service.sh: Use four-digit version 12/167812/1
authorSunmin Lee <sunm.lee@samsung.com>
Wed, 27 Dec 2017 01:21:57 +0000 (10:21 +0900)
committerSomin Kim <somin926.kim@samsung.com>
Mon, 22 Jan 2018 07:47:15 +0000 (07:47 +0000)
For compatibility, use four-digit version number for update.

Change-Id: If45e0a30916bfd333e4a88ae182bbf2e450f7759
(cherry picked from commit 88f1b77f114151f5a26b6eecd383618795735935)

scripts/500.context-service.sh

index 3dcdfe0..b05fd51 100644 (file)
@@ -15,7 +15,7 @@ get_version_info
 #------------------------------------------------#
 # context-service patch for upgrade (3.0 -> 4.0) #
 #------------------------------------------------#
-if [ "$OLD_VER" = "3.0" ]; then
+if [ "$OLD_VER" = "3.0.0.0" ]; then
 
 # Move DB (context-service -> context-sensor-recorder)
 mv $DB_CONTEXT_30 $DB_CONTEXT_40_SENSOR_RECORDER