summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xdefault-fonts-fc-sdk.init.sh2
-rw-r--r--packaging/default-fonts-fc-sdk.spec5
2 files changed, 0 insertions, 7 deletions
diff --git a/default-fonts-fc-sdk.init.sh b/default-fonts-fc-sdk.init.sh
deleted file mode 100755
index b659f69..0000000
--- a/default-fonts-fc-sdk.init.sh
+++ /dev/null
@@ -1,2 +0,0 @@
-## Copy conf files from %{TZ_SYS_ETC}/fonts/conf.avail/ to %{TZ_SYS_RO_ETC}/fonts/conf.avail/
-cp -p /opt/etc/fonts/conf.avail/*.conf /etc/fonts/conf.avail/
diff --git a/packaging/default-fonts-fc-sdk.spec b/packaging/default-fonts-fc-sdk.spec
index 00ad69d..4c861a7 100644
--- a/packaging/default-fonts-fc-sdk.spec
+++ b/packaging/default-fonts-fc-sdk.spec
@@ -25,8 +25,6 @@ export FONT_CONF_FILE_2="10-hinting-slight.conf"
## TZ_SYS_RO_ETC: /etc, TZ_SYS_ETC: /opt/etc/
rm -rf %{buildroot}
-mkdir -p %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.avail/
-mkdir -p %{buildroot}%{TZ_SYS_RO_ETC}/opt/init/ && cp -a default-fonts-fc-sdk.init.sh %{buildroot}%{TZ_SYS_RO_ETC}/opt/init/
mkdir -p %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.d/
mkdir -p %{buildroot}%{TZ_SYS_ETC}/fonts/conf.avail/ && cp -a sdk_fonts_fc/* %{buildroot}%{TZ_SYS_ETC}/fonts/conf.avail/
ln -s %{TZ_SYS_ETC}/fonts/conf.avail/$FONT_CONF_FILE_1 %{buildroot}%{TZ_SYS_RO_ETC}/fonts/conf.d/$FONT_CONF_FILE_1
@@ -35,7 +33,6 @@ ln -s %{TZ_SYS_ETC}/fonts/conf.avail/$FONT_CONF_FILE_2 %{buildroot}%{TZ_SYS_RO_E
%post
chown root:users %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
chmod 664 %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
-%{TZ_SYS_RO_ETC}/opt/init/default-fonts-fc-sdk.init.sh
chsmack -a '*' %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
%files
@@ -43,6 +40,4 @@ chsmack -a '*' %{TZ_SYS_ETC}/fonts/conf.avail/*.conf
%defattr(-,root,root,-)
%{TZ_SYS_ETC}/fonts/conf.avail/*.conf
%{TZ_SYS_RO_ETC}/fonts/conf.d/*.conf
-%{TZ_SYS_RO_ETC}/opt/init/default-fonts-fc-sdk.init.sh
-%{TZ_SYS_RO_ETC}/fonts/conf.avail/
%exclude %{TZ_SYS_RO_ETC}/fonts/conf.d/documentation.list