diff options
author | pomfland | 2018-11-08 12:08:14 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo | 2018-11-10 01:46:58 +0100 |
commit | 761d2f9ca67d27c4df6b3704d2359d8d33dd9a8b (patch) | |
tree | 2af1efe049501796a020c5972c21c5b5178d3df7 /system/ttf-computer-modern/doinst.sh | |
parent | 7aa94410990b77926ebc61aa9a5ec111a17b7c0a (diff) | |
download | slackbuilds-761d2f9ca67d27c4df6b3704d2359d8d33dd9a8b.tar.gz |
system/ttf-computer-modern: Added (fonts for X applications).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/ttf-computer-modern/doinst.sh')
-rw-r--r-- | system/ttf-computer-modern/doinst.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/system/ttf-computer-modern/doinst.sh b/system/ttf-computer-modern/doinst.sh new file mode 100644 index 0000000000..8fec9f5340 --- /dev/null +++ b/system/ttf-computer-modern/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 |