summaryrefslogtreecommitdiff
path: root/pcr/ttf-comic-neue/ttf-comic-neue.install
blob: 309a51b293408de74dc1a930ededdcc505072bb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
post_install() {
  post_remove $1
}

post_upgrade() {
  post_install $1
}

post_remove() {
  echo -n "==> Rebuilding font cache... "
  fc-cache -s &> /dev/null
  mkfontscale /usr/share/fonts/OTF
  mkfontdir /usr/share/fonts/OTF
  echo "done"
}