1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/x11-fonts/bitmap-fonts/files/INSTALL.tmpl
Shigeyuki Fukushima fe1f7ae281 Add INSTALL and DEINSTALL scripts.
Fix mkfontdir problem (Port's 'make install' doesn't execute mkfontdir).
Auto-execute 'xset fp rehash' in INSTALL/DEINSTALL script.
Submitted by:	TAOKA Satoshi <taoka@infonets.hiroshima-u.ac.jp>
1999-08-19 12:28:51 +00:00

13 lines
390 B
Bash

#!/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