diff options
Diffstat (limited to 'system/sahel-font/doinst.sh')
-rw-r--r-- | system/sahel-font/doinst.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/system/sahel-font/doinst.sh b/system/sahel-font/doinst.sh new file mode 100644 index 0000000000000..24224f5ab3bd6 --- /dev/null +++ b/system/sahel-font/doinst.sh @@ -0,0 +1,15 @@ +# Update the fonts indexes. + +if [ -x /usr/bin/mkfontdir ]; then + cd /usr/share/fonts/TTF + mkfontdir . +fi + +if [ -x /usr/bin/mkfontscale ]; then + cd /usr/share/fonts/TTF + mkfontscale . +fi + +if [ -x /usr/bin/fc-cache ]; then + fc-cache -f -v +fi |