aboutsummaryrefslogtreecommitdiff
path: root/system/gohu-font/douninst.sh
blob: 241d35f86f1886fbded45eaf6a16201436c5d63e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
if [ -x /usr/bin/mkfontdir ]; then
  ( cd usr/share/fonts/misc
    grep -v '^gohu1[14]\(bold\|\) ' fonts.alias > fonts.alias.new
    mv fonts.alias.new fonts.alias
    mkfontscale .
    mkfontdir .
  )
fi

[ "$DISPLAY" != "" ] && xset fp rehash 2>/dev/null

if [ -x usr/bin/fc-cache ]; then
  usr/bin/fc-cache -f
fi