summarylogtreecommitdiffstats
path: root/neuropol-ttf.install
blob: 32e89da42971703c1a023da740a6b7a095460de1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
post_install() {
  echo -n "rebuilding font cache... "
  fc-cache -fs > /dev/null
  mkfontscale /usr/share/fonts/TTF
  mkfontdir /usr/share/fonts/TTF
  echo "done."
}

post_upgrade() {
  echo -n "rebuilding font cache... "
  fc-cache /usr/share/fonts/TTF
  mkfontscale /usr/share/fonts/TTF
  mkfontdir /usr/share/fonts/TTF
  echo "done."
}

post_remove() {
  echo -n "rebuilding font cache... "
  fc-cache /usr/share/fonts/TTF
  mkfontscale /usr/share/fonts/TTF
  mkfontdir /usr/share/fonts/TTF
  echo "done."
}