summarylogtreecommitdiffstats
path: root/erusfont.install
blob: dffbae1127949b37f403f19b5cbe15851254941e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
post_install() {
  echo "Updating font cache... " 
  fc-cache -fs >/dev/null 2>&1
  mkfontscale /usr/share/fonts/local
  mkfontdir /usr/share/fonts/local
  xset fp rehash >/dev/null 2>&1
  echo "Make sure that you add /usr/share/fonts/local/ to xorg.conf under the"
  echo "\"Files\" section"
}

post_upgrade() {
  post_install
}

post_remove() {
  fc-cache -fs >/dev/null 2>&1
  mkfontscale /usr/share/fonts/local
  mkfontdir /usr/share/fonts/local
  xset fp rehash >/dev/null 2>&1
}