nerd-fonts-dejavu-complete/nerd-fonts-dejavu-complete.install
2016-11-22 14:16:52 -02:00

326 B

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
 
}