summaryrefslogtreecommitdiff
path: root/x11-fonts/bitmap-fonts/files/INSTALL.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fonts/bitmap-fonts/files/INSTALL.tmpl')
-rw-r--r--x11-fonts/bitmap-fonts/files/INSTALL.tmpl12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-fonts/bitmap-fonts/files/INSTALL.tmpl b/x11-fonts/bitmap-fonts/files/INSTALL.tmpl
new file mode 100644
index 000000000000..77be2d3b8f9e
--- /dev/null
+++ b/x11-fonts/bitmap-fonts/files/INSTALL.tmpl
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+if [ "x$2" = "xPOST-INSTALL" ]; then
+ cd ${PKG_PREFIX}/%%FONTSDIR%%; ${PKG_PREFIX}/bin/mkfontdir
+ ${PKG_PREFIX}/bin/xset fp rehash ||
+ (
+ echo "**********************************************************"
+ echo "You should restart X server or do 'xset fp rehash' command"
+ echo "to enable this update."
+ echo "**********************************************************"
+ )
+fi