summarylogtreecommitdiffstats
path: root/nerd-fonts-noto-sans-regular-complete.install
blob: ae2c7c25a78f7256b04c4f2c200b34dbd3ddfcb9 (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
msg() {

  echo -en "[1;34m::[0;1m ${@}[0m"

}

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

}