summaryrefslogtreecommitdiffstats
path: root/source/x/ttf-indic-fonts/doinst.sh
blob: e08ddadeaf8b5ad0406c21ee27d1cb4f198768cf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/sh
# Update mkfontscale and mkfontdir:
if [ -x /usr/bin/mkfontdir ]; then
  mkfontscale usr/share/fonts/TTF 2> /dev/null
  mkfontdir usr/share/fonts/TTF 2> /dev/null
fi
# Update the X font indexes:
if [ -x /usr/bin/fc-cache ]; then
  /usr/bin/fc-cache -f 2> /dev/null
fi