From 7aa94410990b77926ebc61aa9a5ec111a17b7c0a Mon Sep 17 00:00:00 2001 From: Azure Zanculmarktum Date: Thu, 8 Nov 2018 10:58:04 +0000 Subject: system/fira-code-fonts: Added (monospaced font with ligatures). Signed-off-by: David Spencer --- system/fira-code-fonts/doinst.sh | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 system/fira-code-fonts/doinst.sh (limited to 'system/fira-code-fonts/doinst.sh') diff --git a/system/fira-code-fonts/doinst.sh b/system/fira-code-fonts/doinst.sh new file mode 100644 index 0000000000..c011595ed8 --- /dev/null +++ b/system/fira-code-fonts/doinst.sh @@ -0,0 +1,14 @@ +# Update the X font indexes: +if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then + ( cd /usr/share/fonts/TTF + mkfontscale . + mkfontdir . + ) + ( cd /usr/share/fonts/OTF + mkfontscale . + mkfontdir . + ) +fi +if [ -x /usr/bin/fc-cache ]; then + /usr/bin/fc-cache -f +fi -- cgit v1.2.3