From 62ba3a954ba4b811af77b4065687b0c69906c416 Mon Sep 17 00:00:00 2001 From: Youngbok Shin Date: Tue, 22 Nov 2016 14:17:31 +0900 Subject: [PATCH] fontconfig: skip creation cache files at the package installation This patch is made for fixing smack issues for fontconfig system cache. Change-Id: Ia441d877270d29cbd67ad37e0afbc35af258b178 --- packaging/fontconfig.spec | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packaging/fontconfig.spec b/packaging/fontconfig.spec index 334b445..3590781 100644 --- a/packaging/fontconfig.spec +++ b/packaging/fontconfig.spec @@ -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 -- 2.7.4