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

28 lines
326 B
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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
}