aboutsummaryrefslogtreecommitdiff
path: root/system/noto-extra-ttf/doinst.sh
blob: d119c4ef738a256bbacc18ead98b2573bbdf93ba (plain)
1
2
3
4
5
6
7
8
9
10
# Update the X font indices:

if [ -x /usr/bin/mkfontdir ]; then
  ( cd usr/share/fonts/TTF
    /usr/bin/mkfontscale .
    /usr/bin/mkfontdir .
  )

  [ -x /usr/bin/fc-cache ] && /usr/bin/fc-cache -f
fi