Remove unused upgrade script 80/184280/1 accepted/tizen_5.0_unified accepted/tizen/5.0/unified/20181102.024640 accepted/tizen/unified/20180720.060729 submit/tizen/20180719.063101 submit/tizen_5.0/20181101.000006
authorShinwoo Kim <cinoo.kim@samsung.com>
Tue, 17 Jul 2018 02:39:44 +0000 (11:39 +0900)
committerShinwoo Kim <cinoo.kim@samsung.com>
Tue, 17 Jul 2018 02:41:24 +0000 (11:41 +0900)
The upgrade script was for updrading to 3.0 from 2.4.
So it is not necessary on tizen branch.

Change-Id: I65d782d1b469f5ed0846b2241397a32131767af4

packaging/fontconfig.spec
scripts/500.fontconfig.sh [deleted file]

index 7ab9ae2..b604553 100644 (file)
@@ -24,8 +24,6 @@ Requires(pre):  %{TZ_SYS_BIN}/fc-cache, %{TZ_SYS_BIN}/mkdir %{TZ_SYS_BIN}/rm, %{
 Requires(post): /sbin/ldconfig
 Requires(postun): /sbin/ldconfig
 
-%define upgrade_script_path /usr/share/upgrade/scripts
-
 %description
 Fontconfig is designed to locate fonts within the
 system and select them according to requirements specified by
@@ -72,8 +70,6 @@ make %{?jobs:-j%jobs}
 #make check
 %install
 rm -rf %{buildroot}
-mkdir -p %{buildroot}%{upgrade_script_path}
-cp -f scripts/500.fontconfig.sh %{buildroot}%{upgrade_script_path}
 
 %make_install
 
@@ -152,7 +148,6 @@ chsmack -a User::App::Shared %{TZ_SYS_SHARE}/fonts
 %config %{TZ_SYS_RO_ETC}/fonts/conf.avail/*.conf
 %config(noreplace) %{TZ_SYS_RO_ETC}/fonts/conf.d/*.conf
 %{_tmpfilesdir}/fontconfig.conf
-%{upgrade_script_path}/500.fontconfig.sh
 %license COPYING
 
 %files devel
diff --git a/scripts/500.fontconfig.sh b/scripts/500.fontconfig.sh
deleted file mode 100755 (executable)
index 2b9a6d9..0000000
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/bin/sh
-
-#------------------------------------------#
-# efl-misc upgrade (2.4 -> 3.0)            #
-#------------------------------------------#
-
-# Macro
-PATH=/bin:/usr/bin:/sbin:/usr/sbin
-
-# Set under the /opt
-mkdir -p /opt/var/cache/fontconfig
-chmod -R 775 /opt/var/cache/fontconfig
-chown -R :users /opt/var/cache/fontconfig
-chsmack -a 'User::App::Shared' /opt/var/cache/fontconfig
-chsmack -t /opt/var/cache/fontconfig