summaryrefslogtreecommitdiff
path: root/system/ttf-ancient-fonts/doinst.sh
blob: 2b48ae510ccbd5999b67ebcb52bfbea3f3d9f462 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
if [ -x /usr/bin/mkfontdir ]; then
  ( cd usr/share/fonts/TTF
    mkfontscale .
    mkfontdir .
  )
  ( cd usr/share/fonts/OTF
    mkfontscale .
    mkfontdir .
  )
fi
if [ -x /usr/bin/fc-cache ]; then
  /usr/bin/fc-cache -f
fi