diff options
Diffstat (limited to 'nerd-fonts-noto-sans-regular-complete.install')
-rw-r--r-- | nerd-fonts-noto-sans-regular-complete.install | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/nerd-fonts-noto-sans-regular-complete.install b/nerd-fonts-noto-sans-regular-complete.install new file mode 100644 index 000000000000..ae2c7c25a78f --- /dev/null +++ b/nerd-fonts-noto-sans-regular-complete.install @@ -0,0 +1,27 @@ +msg() { + + echo -en "[1;34m::[0;1m ${@}[0m" + +} + +post_install() { + + msg 'Updating font cache...' + fc-cache -s > /dev/null 2>&1 + mkfontscale /usr/share/fonts/TTF > /dev/null 2>&1 + mkfontdir /usr/share/fonts/TTF > /dev/null 2>&1 + echo ' done!' + +} + +post_upgrade() { + + post_install + +} + +post_remove() { + + post_install + +} |