fontconfig: skip creation cache files at the package installation
authorYoungbok Shin <youngb.shin@samsung.com>
Tue, 22 Nov 2016 05:17:31 +0000 (14:17 +0900)
committerJEONGHYUN YUN <jh0506.yun@samsung.com>
Thu, 29 Dec 2016 10:36:40 +0000 (19:36 +0900)
This patch is made for fixing smack issues for fontconfig system cache.

Change-Id: Ia441d877270d29cbd67ad37e0afbc35af258b178

packaging/fontconfig.spec

index 334b445..3590781 100644 (file)
@@ -124,9 +124,9 @@ chsmack -a User::App::Shared %{TZ_SYS_VAR}/cache/fontconfig
 # The check for existance is needed on dual-arch installs (the second
 #  copy of fontconfig might install the binary instead of the first)
 # The HOME setting is to avoid problems if HOME hasn't been reset
-if [ -x %{TZ_SYS_BIN}/fc-cache ] && %{TZ_SYS_BIN}/fc-cache --version 2>&1 | grep -q %{version} ; then
-fc-cache -rf --system-only
-fi
+#if [ -x %{TZ_SYS_BIN}/fc-cache ] && %{TZ_SYS_BIN}/fc-cache --version 2>&1 | grep -q %{version} ; then
+#fc-cache -rf --system-only
+#fi
 
 %postun -p /sbin/ldconfig