Remove old upgrade script 43/143543/1
authorSunmin Lee <sunm.lee@samsung.com>
Thu, 10 Aug 2017 09:24:16 +0000 (18:24 +0900)
committerSunmin Lee <sunm.lee@samsung.com>
Thu, 10 Aug 2017 09:28:40 +0000 (18:28 +0900)
RW upgrade script file for Tizen 3.0 is not necessary in Tizen 4.0.
Remove this file to avoid being executed during Tizen 4.0 update.

Change-Id: I5db2f3dacfddd8c1c876235cede80689f81073c9

500.isf_upgrade_24to30.sh [deleted file]
packaging/isf.spec

diff --git a/500.isf_upgrade_24to30.sh b/500.isf_upgrade_24to30.sh
deleted file mode 100755 (executable)
index 2319ab8..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-set -x
-
-#-------------------------------------------------#
-# isf patch for upgrade (2.4 -> 3.0) #
-#-------------------------------------------------#
-
-# Macro
-ISF_DIR_24=/opt/home/app/.scim
-ISF_DIR_30=/opt/usr/home/owner/.config/.scim
-
-DB_DIR_24=/opt/dbspace/
-DB_DIR_30=/opt/usr/home/owner/.applications/dbspace/
-
-ISF_FILE_24=$ISF_DIR_24/config
-ISF_FILE_30=$ISF_DIR_30/config
-
-DB_FILE_24=$DB_DIR_24/.ime_info.db
-DB_FILE_30=$DB_DIR_30/.ime_info.db
-
-DB_FILE_WAL_24=$DB_DIR_24/.ime_info.db-wal
-DB_FILE_WAL_30=$DB_DIR_30/.ime_info.db-wal
-
-DB_FILE_JOURNAL_24=$DB_DIR_24/.ime_info.db-journal
-DB_FILE_JOURNAL_30=$DB_DIR_30/.ime_info.db-journal
-
-# Create Directory
-mkdir -p $ISF_DIR_30
-mkdir -p $DB_DIR_30
-
-# Set permission
-chown owner:users $ISF_DIR_30
-chsmack -a User::Home $ISF_DIR_30
-chown owner:users $DB_DIR_30
-chsmack -a User::Home $DB_DIR_30
-
-# Move
-mv $ISF_FILE_24 $ISF_FILE_30
-mv $DB_FILE_24 $DB_FILE_30
-mv $DB_FILE_WAL_24 $DB_FILE_WAL_30
-mv $DB_FILE_JOURNAL_24 $DB_FILE_JOURNAL_30
-
-# Set permission
-chown owner:users $ISF_FILE_30
-chsmack -a User::Home $ISF_FILE_30
-chown owner:users $DB_FILE_30
-chsmack -a User::Home $DB_FILE_30
-chown owner:users $DB_FILE_WAL_30
-chsmack -a User::Home $DB_FILE_WAL_30
-chown owner:users $DB_FILE_JOURNAL_30
-chsmack -a User::Home $DB_FILE_JOURNAL_30
index 269c731..040eb57 100644 (file)
@@ -112,7 +112,6 @@ mkdir -p %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
 cp -af ism/dump/isf_log_dump.sh %{buildroot}/%{TZ_SYS_ETC}/dump.d/module.d
 mkdir -p %{buildroot}/etc/scim/conf
 mkdir -p %{buildroot}/usr/share/upgrade/scripts/
-cp 500.isf_upgrade_24to30.sh %{buildroot}/usr/share/upgrade/scripts/
 
 %find_lang scim
 
@@ -146,7 +145,6 @@ ln -sf "module.so" %{_libdir}/ecore_imf/modules/wayland/v-1.16/libwltextinputmod
 %{TZ_SYS_RO_ETC}/package-manager/parserlib/category/libimeparser.so
 %license COPYING
 %{TZ_SYS_ETC}/dump.d/module.d/*
-/usr/share/upgrade/scripts/*
 
 %files devel
 %defattr(-,root,root,-)