summaryrefslogtreecommitdiff
path: root/pcr/gohufont/gohufont.install
blob: 3fb67c03bf3b24fe4b3dba15d687f1bee268bfdb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
post_install() {
  echo "Updating font cache... " 
  fc-cache -fs >/dev/null 2>&1
  mkfontscale /usr/share/fonts/misc
  mkfontdir /usr/share/fonts/misc
  xset fp rehash >/dev/null 2>&1
  echo "Make sure that the line"
  echo "FontPath     \"/usr/share/fonts/misc\""
  echo "is present in xorg.conf under the \"Files\" section"
}

post_upgrade() {
  post_install
}

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