diff options
author | Mikkel Kroman | 2016-03-22 22:11:39 +0100 |
---|---|---|
committer | Mikkel Kroman | 2016-03-22 22:11:39 +0100 |
commit | 5b19ce47951718334b432e57bb153f91b3205bcc (patch) | |
tree | 429b5d6170f18074b8387f429d3dedada6d01c83 /font.install | |
download | aur-ttf-noto-sans-kannada.tar.gz |
Initial commit
Diffstat (limited to 'font.install')
-rw-r--r-- | font.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/font.install b/font.install new file mode 100644 index 000000000000..67445cf458e1 --- /dev/null +++ b/font.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -fs > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done" +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |