File fc-presets.patch of Package fontconfig

diff -ru a/fontconfig_patches/fc-presets b/fontconfig_patches/fc-presets
--- a/fontconfig_patches/fc-presets	2014-11-05 20:16:20.000000000 -0500
+++ b/fontconfig_patches/fc-presets	2014-11-09 20:36:23.046557026 -0500
@@ -13,7 +13,7 @@
 YEL='\E[01;33m'
 RES='\E[0m'
 
-presets_dir="/etc/fonts/conf.avail.infinality"
+presets_dir="/usr/share/fontconfig/conf.avail.infinality"
 config_dir="/etc/fonts/conf.d"
 
 presets_list=(combi free ms)
@@ -193,7 +193,7 @@
       rm -f 35-repl-custom.conf 2>/dev/null
     elif [[ $check_current == *free* ]] || [[ $check_current == *ms* ]]; then
       if [ ! -f 35-repl-custom ]; then
-        ln -s ../conf.avail.infinality/35-repl-custom.conf . 2>/dev/null
+        ln -s $presets_dir/35-repl-custom.conf . 2>/dev/null
       fi
     fi
   done
openSUSE Build Service is sponsored by