freebsd-ports/japanese/kanji26/files/DEINSTALL.tmpl
Satoshi Taoka fc5085051e X11 26-dot kanji font
PR:             15394
Submitted by:   Yoshiro MIHIRA <sanpei@jp.FreeBSD.org>
2000-01-08 01:24:41 +00:00

13 lines
392 B
Bash

#!/bin/sh
if [ "x$2" = "xPOST-DEINSTALL" ]; 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