diff options
author | Devin Christensen | 2015-06-08 11:20:07 -0600 |
---|---|---|
committer | Devin Christensen | 2015-06-08 11:20:07 -0600 |
commit | e47714118025e7502a02046a4088e9405afcae6c (patch) | |
tree | 24c3da98a3b1112f9750468faf1738ffc8bafea6 /ttf-dejavu-sans-mono-powerline-git.install | |
download | aur-e47714118025e7502a02046a4088e9405afcae6c.tar.gz |
Create package
Diffstat (limited to 'ttf-dejavu-sans-mono-powerline-git.install')
-rw-r--r-- | ttf-dejavu-sans-mono-powerline-git.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-dejavu-sans-mono-powerline-git.install b/ttf-dejavu-sans-mono-powerline-git.install new file mode 100644 index 000000000000..83322116247a --- /dev/null +++ b/ttf-dejavu-sans-mono-powerline-git.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + mkfontscale /usr/share/fonts/TTF > /dev/null 2>&1 + mkfontdir /usr/share/fonts/TTF > /dev/null 2>&1 + fc-cache -s >/dev/null + echo "done" +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |