From 65b85d166eb19a6bb1a49f13d4879425f1121415 Mon Sep 17 00:00:00 2001 From: "Edinaldo P. Silva" Date: Sat, 3 Dec 2016 22:53:58 +0000 Subject: system/ttf-crosscorefonts: Added (fonts from ChromeOS). Signed-off-by: David Spencer --- system/ttf-crosscorefonts/doinst.sh | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 system/ttf-crosscorefonts/doinst.sh (limited to 'system/ttf-crosscorefonts/doinst.sh') diff --git a/system/ttf-crosscorefonts/doinst.sh b/system/ttf-crosscorefonts/doinst.sh new file mode 100644 index 0000000000..8fec9f5340 --- /dev/null +++ b/system/ttf-crosscorefonts/doinst.sh @@ -0,0 +1,11 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) +fi + +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi -- cgit v1.2.3