diff options
Diffstat (limited to 'x11-fonts/intlfonts/files/DEINSTALL.tmpl')
-rw-r--r-- | x11-fonts/intlfonts/files/DEINSTALL.tmpl | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/x11-fonts/intlfonts/files/DEINSTALL.tmpl b/x11-fonts/intlfonts/files/DEINSTALL.tmpl new file mode 100644 index 000000000000..b3ce13970536 --- /dev/null +++ b/x11-fonts/intlfonts/files/DEINSTALL.tmpl @@ -0,0 +1,13 @@ +#!/bin/sh + +if [ "x$2" = "xPOST-DEINSTALL" ]; then + cd ${PKG_PREFIX}/%%FONTSDIR%%; ${PKG_PREFIX}/bin/mkfontdir + cd ${PKG_PREFIX}/%%T1_FONTSDIR%%; %%LOCALBASE%%/bin/type1inst -nogs -nolog -quiet + ${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 |