summaryrefslogtreecommitdiffstats
path: root/fontconfig.pkg/postinst
diff options
context:
space:
mode:
Diffstat (limited to 'fontconfig.pkg/postinst')
-rw-r--r--fontconfig.pkg/postinst8
1 files changed, 8 insertions, 0 deletions
diff --git a/fontconfig.pkg/postinst b/fontconfig.pkg/postinst
new file mode 100644
index 0000000..5c3334c
--- /dev/null
+++ b/fontconfig.pkg/postinst
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+set -e
+
+if [ "x${1}" = 'xconfigure' ]; then
+ mkdir -p /var/cache/fontconfig
+ fc-cache -s -f -v
+fi