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