summarylogtreecommitdiffstats
path: root/ttf-dotsies.install
blob: 94e8986e57520707c9e62a0b598ffa84c07fa320 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
post_install() {
  ln -sfT /etc/fonts/conf.avail/21-dotsies.conf /etc/fonts/conf.d/21-dotsies.conf
  fc-cache -fs
  mkfontscale usr/share/fonts/TTF
  mkfontdir usr/share/fonts/TTF
}

post_upgrade() {
  ln -sfT /etc/fonts/conf.avail/21-dotsies.conf /etc/fonts/conf.d/21-dotsies.conf
  fc-cache -fs
  mkfontscale usr/share/fonts/TTF
  mkfontdir usr/share/fonts/TTF
}

post_remove() {
  rm -f /etc/fonts/conf.d/21-dotsies.conf
  fc-cache -fs
  mkfontscale usr/share/fonts/TTF
  mkfontdir usr/share/fonts/TTF
}