diff options
author | benoliver999 | 2017-09-07 15:52:15 +0100 |
---|---|---|
committer | benoliver999 | 2017-09-07 15:52:15 +0100 |
commit | 4a686543c61831a3808bfd511561250c8812b521 (patch) | |
tree | 6787955cbeebbe63aea767907b389191e774dfcc /ttf-pf-agora-sans-pro-git.install | |
download | aur-4a686543c61831a3808bfd511561250c8812b521.tar.gz |
Initial Commit
Diffstat (limited to 'ttf-pf-agora-sans-pro-git.install')
-rw-r--r-- | ttf-pf-agora-sans-pro-git.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-pf-agora-sans-pro-git.install b/ttf-pf-agora-sans-pro-git.install new file mode 100644 index 000000000000..83322116247a --- /dev/null +++ b/ttf-pf-agora-sans-pro-git.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + mkfontscale /usr/share/fonts/TTF > /dev/null 2>&1 + mkfontdir /usr/share/fonts/TTF > /dev/null 2>&1 + fc-cache -s >/dev/null + echo "done" +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |