From 4f73d1217112dd8650dc12b77da965352c4a59bb Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 23 Mar 2009 18:47:46 +0100 Subject: [PATCH] fontconfig: add an INSTALL script that runs fc-cache. --HG-- extra : convert_revision : 2acea147fb7e83af81310bbdefbeee0627957892 --- templates/fontconfig/INSTALL | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 templates/fontconfig/INSTALL diff --git a/templates/fontconfig/INSTALL b/templates/fontconfig/INSTALL new file mode 100644 index 0000000000..84355520aa --- /dev/null +++ b/templates/fontconfig/INSTALL @@ -0,0 +1,12 @@ +# +# This script builds fontconfig's fonts cache. +# +case "$2" in +pre) + ;; +post) + echo "Building fonts cache... " + fc-cache -f >/dev/null + echo "done." + ;; +esac