makedeb
Patched font Inconsolata from the nerd-fonts library
Click here to go back to the commit logs for nerd-fonts-inconsolata.
Hash: 65b4cc5fdf66d0eb3516aab9a82459523c49a95c
Message: fixed install script
diff --git a/nerd-fonts-inconsolata.install b/nerd-fonts-inconsolata.install
index 94f32d5..f386cfa 100644
--- a/nerd-fonts-inconsolata.install
+++ b/nerd-fonts-inconsolata.install
@@ -1,15 +1,23 @@
post_install() {
- echo -n "Updating font cache... "
- fc-cache -s
- mkfontscale /usr/share/fonts/TTF
- mkfontdir /usr/share/fonts/TTF
- echo "done"
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
}
post_upgrade() {
- post_install $1
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
}
post_remove() {
- post_install $1
+ echo -n "Updating font cache... "
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
}