mirror of
https://github.com/luzifer-aur/nerd-fonts-dejavu-complete.git
synced 2024-11-09 14:20:08 +00:00
326 B
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
}
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
}