Modify script numbering 85/102285/1 accepted/tizen/common/20161205.140047 accepted/tizen/ivi/20161205.233948 accepted/tizen/mobile/20161205.233855 accepted/tizen/tv/20161205.233913 accepted/tizen/wearable/20161205.233930 submit/tizen/20161205.095518
authorWootak Jung <wootak.jung@samsung.com>
Mon, 5 Dec 2016 09:43:19 +0000 (18:43 +0900)
committerWootak Jung <wootak.jung@samsung.com>
Mon, 5 Dec 2016 09:43:19 +0000 (18:43 +0900)
- in general case(no dependency with other scripts), use 500 numbering

Change-Id: I70655dffeca3a9e9ee659b50dd57993cfe027a35

CMakeLists.txt
packaging/tel-plugin-database.spec
res/500.mcc_mnc_oper_list_upgrade_24_30.sh [new file with mode: 0644]
res/mcc_mnc_oper_list_upgrade_24_30.sh [deleted file]

index 4048aa19178127f443e5f66dcbceea89e141770a..aed640d5e3668d0cb86a574cc06ae7ee7dbc2225 100644 (file)
@@ -53,7 +53,7 @@ SET_TARGET_PROPERTIES(db-plugin PROPERTIES PREFIX "" OUTPUT_NAME db-plugin)
 INSTALL(TARGETS db-plugin
                LIBRARY DESTINATION ${LIBDIR}/telephony/plugins)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/common_mcc_mnc_oper_list.sql DESTINATION /tmp RENAME mcc_mnc_oper_list.sql)
-INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/mcc_mnc_oper_list_upgrade_24_30.sh DESTINATION ${DATAROOTDIR}/upgrade/scripts)
+INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/500.mcc_mnc_oper_list_upgrade_24_30.sh DESTINATION ${DATAROOTDIR}/upgrade/scripts)
 IF (OPERATOR_CDMA)
 INSTALL(FILES ${CMAKE_SOURCE_DIR}/res/cdma_mcc_sid_list.sql DESTINATION /tmp RENAME mcc_sid_list.sql)
 ENDIF (OPERATOR_CDMA)
index 3a6883eb696db59c6bdd1118b56ed0fd3680ec20..5ae2357b7350fab90e428637fc39ce67b28dcf3f 100644 (file)
@@ -1,6 +1,6 @@
 %define major 0
 %define minor 1
-%define patchlevel 28
+%define patchlevel 29
 
 Name:           tel-plugin-database
 Version:        %{major}.%{minor}.%{patchlevel}
@@ -76,5 +76,5 @@ mkdir -p %{buildroot}%{_datadir}/license
 %endif
 #%doc COPYING
 %{_libdir}/telephony/plugins/db-plugin*
-%{_datadir}/upgrade/scripts/mcc_mnc_oper_list_upgrade_24_30.sh
+%{_datadir}/upgrade/scripts/500.mcc_mnc_oper_list_upgrade_24_30.sh
 %{_datadir}/license/tel-plugin-database
diff --git a/res/500.mcc_mnc_oper_list_upgrade_24_30.sh b/res/500.mcc_mnc_oper_list_upgrade_24_30.sh
new file mode 100644 (file)
index 0000000..dd7d3e8
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+chown telephony:telephony /opt/dbspace/.mcc_mnc_oper_list.db
+chown telephony:telephony /opt/dbspace/.mcc_mnc_oper_list.db-journal
+
+chsmack -a System /opt/dbspace/.mcc_mnc_oper_list.db
+chsmack -a System /opt/dbspace/.mcc_mnc_oper_list.db-journal
diff --git a/res/mcc_mnc_oper_list_upgrade_24_30.sh b/res/mcc_mnc_oper_list_upgrade_24_30.sh
deleted file mode 100644 (file)
index dd7d3e8..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-#!/bin/sh
-
-chown telephony:telephony /opt/dbspace/.mcc_mnc_oper_list.db
-chown telephony:telephony /opt/dbspace/.mcc_mnc_oper_list.db-journal
-
-chsmack -a System /opt/dbspace/.mcc_mnc_oper_list.db
-chsmack -a System /opt/dbspace/.mcc_mnc_oper_list.db-journal