diff options
author | Nick Fode | 2019-01-14 18:52:18 +0100 |
---|---|---|
committer | Nick Fode | 2019-01-14 18:57:17 +0100 |
commit | 5da1165a0334e602d264a86e286cee2b10d60175 (patch) | |
tree | 791331b575d8bf5a412f06ffc291abe190db9c4d /nerd-fonts-noto-sans-regular-complete.install | |
download | aur-5da1165a0334e602d264a86e286cee2b10d60175.tar.gz |
Initial commit
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 + +} |