aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fonts/fontconfig/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/fontconfig/pkg-install')
-rw-r--r--x11-fonts/fontconfig/pkg-install12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-fonts/fontconfig/pkg-install b/x11-fonts/fontconfig/pkg-install
new file mode 100644
index 000000000000..a6228fb8397e
--- /dev/null
+++ b/x11-fonts/fontconfig/pkg-install
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ -n "${PACKAGE_BUILDING}" ]; then
+ exit 0
+fi
+
+PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/X11R6/bin:${PATH}
+export PATH
+
+if [ "$2" = "POST-INSTALL" ]; then
+ fc-cache >/dev/null 2>&1
+fi