1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00

Use POST-DEINSTALL since mkfontdir(1) must be run after removing files.

This commit is contained in:
Hiroki Sato 2009-05-31 16:29:31 +00:00
parent fb817c7288
commit 444f1c86e3
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=234923

View File

@ -89,7 +89,7 @@ POST-INSTALL)
cat fonts.alias.tmp %%FONTSALIAS%% > fonts.alias
rm -f fonts.alias.tmp
;;
DEINSTALL)
POST-DEINSTALL)
%%LOCALBASE%%/bin/fc-cache -s -f -v ${X_FONTSDIR}/TTF ${X_FONTSDIR}/misc
rm -f ${X_FONTSDIR}/TTF/fonts.cache-1 ${X_FONTSDIR}/misc/fonts.cache-1