makedeb
A Nerd Font patched version of JetBrains Mono
Click here to go back to the commit logs for nerd-fonts-jetbrains-mono.
Hash: 7a750f7d87e5d854df83568df037187251d8f683
Message: fixed install script
diff --git a/nerd-fonts-jetbrains-mono.install b/nerd-fonts-jetbrains-mono.install
index 94f32d5..04123aa 100644
--- a/nerd-fonts-jetbrains-mono.install
+++ b/nerd-fonts-jetbrains-mono.install
@@ -7,9 +7,17 @@ post_install() {
}
post_upgrade() {
- post_install $1
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done"
}
post_remove() {
- post_install $1
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done"
}