summaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontconfig/files/pkg-install.in
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/fontconfig/files/pkg-install.in')
-rw-r--r--x11-fonts/fontconfig/files/pkg-install.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/files/pkg-install.in b/x11-fonts/fontconfig/files/pkg-install.in
new file mode 100644
index 000000000..e82abb41d
--- /dev/null
+++ b/x11-fonts/fontconfig/files/pkg-install.in
@@ -0,0 +1,10 @@
+#!/bin/sh
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin:%%PREFIX%%/bin
+export PATH
+
+if [ "$2" = "POST-INSTALL" ]; then
+ echo "Running fc-cache to build fontconfig cache..."
+ fc-cache -f -v
+ exit 0
+fi