makedeb
Japanese TrueType font for developers by mixing InconsolataGo patched nerd-fonts and Migu 1M.
Click here to go back to the commit logs for nerd-fonts-ricty.
Hash: 86571ad983085dd10f9ce6835cb5c9a160d19cb7
Message: fixed install script
diff --git a/nerd-fonts-ricty.install b/nerd-fonts-ricty.install
index 4f5212e..f386cfa 100644
--- a/nerd-fonts-ricty.install
+++ b/nerd-fonts-ricty.install
@@ -7,14 +7,17 @@ post_install() {
}
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."
}
-
-op=$1
-shift
-
-$op $*