diff options
author | Marcos Heredia | 2015-06-09 11:26:06 -0300 |
---|---|---|
committer | Marcos Heredia | 2015-06-09 11:26:06 -0300 |
commit | e9b93e5369bcd8b6205564626b9876805ab21319 (patch) | |
tree | 3d87b7ebc5e9b07888a22c939f7a1995713c156d /updatefont.install | |
download | aur-e9b93e5369bcd8b6205564626b9876805ab21319.tar.gz |
Initial import
Diffstat (limited to 'updatefont.install')
-rw-r--r-- | updatefont.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/updatefont.install b/updatefont.install new file mode 100644 index 000000000000..43e14fbd0cff --- /dev/null +++ b/updatefont.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |