summarylogtreecommitdiffstats
path: root/nerd-fonts-dejavu-complete.install
blob: e352fc4c3333e5db39534efeb35d4e0d7a931418 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
msg() {

  echo -en ":: ${@}"

}

post_install() {

  msg 'Updating font cache...'
  fc-cache -s > /dev/null 2>&1
  mkfontscale /usr/share/fonts/TTF > /dev/null 2>&1
  mkfontdir /usr/share/fonts/TTF > /dev/null 2>&1
  echo ' done!'

}

post_upgrade() {

  post_install

}

post_remove() {

  post_install

}