diff options
author | noonov | 2015-06-08 20:15:13 +0900 |
---|---|---|
committer | noonov | 2015-06-08 20:15:13 +0900 |
commit | e978e1ba48eddee11b8d56f8e4b4f8abc5bb2859 (patch) | |
tree | cc56c79bf878113a2310c131237031bb1cdb3a29 /ttf.install | |
download | aur-e978e1ba48eddee11b8d56f8e4b4f8abc5bb2859.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 +} |