aboutsummaryrefslogtreecommitdiff
path: root/system/dosemu-fonts/doinst.sh
blob: 9ebe5c1d5b52515de885b79ec2d05f2cd83ea21c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [ -x /usr/bin/fc-cache ]; then
  /usr/bin/fc-cache -f &> /dev/null
fi

if [ -x /usr/bin/mkfontdir ]; then
  ( cd usr/share/fonts/misc ; /usr/bin/mkfontdir )
fi

if [ -x /usr/bin/mkfontscale ]; then
  ( cd usr/share/fonts/misc ; /usr/bin/mkfontscale )
fi

# This may or may not work, but will do no harm:
DISPLAY=:0 /usr/bin/xset fp rehash &>/dev/null