summarylogtreecommitdiffstats
path: root/nerd-fonts-complete.install
diff options
context:
space:
mode:
Diffstat (limited to 'nerd-fonts-complete.install')
-rw-r--r--nerd-fonts-complete.install12
1 files changed, 7 insertions, 5 deletions
diff --git a/nerd-fonts-complete.install b/nerd-fonts-complete.install
index f8ecdd439d8a..689ea4a80d5c 100644
--- a/nerd-fonts-complete.install
+++ b/nerd-fonts-complete.install
@@ -1,15 +1,17 @@
post_install() {
echo -n "Updating font cache... "
- mkfontscale /usr/share/fonts/OTF > /dev/null 2>&1
- mkfontdir /usr/share/fonts/OTF > /dev/null 2>&1
- fc-cache -s >/dev/null
+ fc-cache -s
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
echo "done"
}
post_upgrade() {
- post_install
+ post_install $1
}
post_remove() {
- post_install
+ post_install $1
}