makedeb


nerd-fonts-victor-mono 2.3.3-1


A Nerd Font patched version of Victor Mono

Click here to go back to the commit logs for nerd-fonts-victor-mono.

Commit:


Hash: d2498e224922e815f8a17b56b93dafb352eeab0d

Message: fixed install script

Diff


diff --git a/nerd-fonts-victor-mono.install b/nerd-fonts-victor-mono.install
index feb626e..f386cfa 100644
--- a/nerd-fonts-victor-mono.install
+++ b/nerd-fonts-victor-mono.install
@@ -1,16 +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."
 }