nerd-fonts-dejavu-complete/nerd-fonts-dejavu-complete.install

29 lines
326 B
Text
Raw Normal View History

2016-11-22 16:16:52 +00:00
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
}