diff options
Diffstat (limited to 'system/adobe-source-code-pro-font/doinst.sh')
-rw-r--r-- | system/adobe-source-code-pro-font/doinst.sh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/system/adobe-source-code-pro-font/doinst.sh b/system/adobe-source-code-pro-font/doinst.sh new file mode 100644 index 0000000000000..74022896fe77b --- /dev/null +++ b/system/adobe-source-code-pro-font/doinst.sh @@ -0,0 +1,17 @@ +# Update mkfontscale and mkfontdir: +if [ -x /usr/bin/mkfontdir ]; then + ( cd /usr/share/fonts/OTF + mkfontscale . + mkfontdir . + ) + ( 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 + |