Radix cross Linux

The main Radix cross Linux repository contains the build scripts of packages, which have the most complete and common functionality for desktop machines

452 Commits   2 Branches   1 Tag
Index: setup.05.fontconfig
===================================================================
--- setup.05.fontconfig	(nonexistent)
+++ setup.05.fontconfig	(revision 5)
@@ -0,0 +1,18 @@
+#!/bin/sh
+#
+# Run fc-cache to locate new fonts for Xft:
+#
+if [ -x usr/bin/fc-cache ]; then
+  if [ "$COLOR" = "on" -o -r $TMP/SeTcolor ]; then
+    dialog --title "FONTCONFIG UPDATE" --infobox \
+  "Please wait while we generate font.cache-1 files with fc-cache.  \
+For best results, fc-cache should be run whenever fonts are \
+added to the system." 5 68
+  else
+    echo "Please wait while we generate font.cache-1 files with fc-cache."
+    echo "For best results, fc-cache should be run whenever fonts are added"
+    echo "to the system."
+  fi
+  chroot . /sbin/ldconfig 1> /dev/null 2> /dev/null
+  chroot . /usr/bin/fc-cache -f 1> /dev/null 2> /dev/null
+fi