diff options
author | Marcos Heredia | 2015-06-09 11:28:55 -0300 |
---|---|---|
committer | Marcos Heredia | 2015-06-09 11:28:55 -0300 |
commit | ae930f06f46a374d2cd0884b752de78f10a467d6 (patch) | |
tree | 310860c4c26b91f44ed8aaf7adbf134010e019ac /updatefont.install | |
download | aur-ae930f06f46a374d2cd0884b752de78f10a467d6.tar.gz |
Initial import
Diffstat (limited to 'updatefont.install')
-rw-r--r-- | updatefont.install | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/updatefont.install b/updatefont.install new file mode 100644 index 000000000000..7c7762f6887c --- /dev/null +++ b/updatefont.install @@ -0,0 +1,16 @@ +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 +} |