diff options
author | noonov | 2015-06-08 20:15:13 +0900 |
---|---|---|
committer | noonov | 2015-06-08 20:15:13 +0900 |
commit | 51aad48fd9def31e4db3add76021e400cd138464 (patch) | |
tree | d3f2b96ac41ee2d3f44dd427b34f38c4882671d8 /ttf.install | |
download | aur-51aad48fd9def31e4db3add76021e400cd138464.tar.gz |
Initial import
Diffstat (limited to 'ttf.install')
-rw-r--r-- | ttf.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf.install b/ttf.install new file mode 100644 index 000000000000..16db3c130c72 --- /dev/null +++ b/ttf.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f -s >/dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |