From 91e621c0a65bd35472645f4e67c06e6130531078 Mon Sep 17 00:00:00 2001 From: Willy Sudiarto Raharjo Date: Wed, 28 May 2014 17:00:32 +0700 Subject: system/un-fonts-core: Moved to system category. Signed-off-by: Willy Sudiarto Raharjo --- system/un-fonts-core/doinst.sh | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 system/un-fonts-core/doinst.sh (limited to 'system/un-fonts-core/doinst.sh') diff --git a/system/un-fonts-core/doinst.sh b/system/un-fonts-core/doinst.sh new file mode 100644 index 0000000000..f7d24f5ca9 --- /dev/null +++ b/system/un-fonts-core/doinst.sh @@ -0,0 +1,13 @@ +# Update mkfontscale and mkfontdir: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi + +# Update the X font indexes: +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi + -- cgit v1.2.3