diff options
author | Teddy Schmitz | 2016-11-17 16:23:39 +0800 |
---|---|---|
committer | Teddy Schmitz | 2016-11-17 16:23:39 +0800 |
commit | c9b3a9b2ee165e6722b91c22f766360a1b389541 (patch) | |
tree | 0b361020badb6393a6ace87d8568f074f013da61 /neuropol-ttf.install | |
download | aur-neuropol-ttf.tar.gz |
Initial Commit
Diffstat (limited to 'neuropol-ttf.install')
-rw-r--r-- | neuropol-ttf.install | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/neuropol-ttf.install b/neuropol-ttf.install new file mode 100644 index 000000000000..32e89da42971 --- /dev/null +++ b/neuropol-ttf.install @@ -0,0 +1,23 @@ +post_install() { + echo -n "rebuilding font cache... " + fc-cache -fs > /dev/null + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + echo -n "rebuilding font cache... " + fc-cache /usr/share/fonts/TTF + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} + +post_remove() { + echo -n "rebuilding font cache... " + fc-cache /usr/share/fonts/TTF + mkfontscale /usr/share/fonts/TTF + mkfontdir /usr/share/fonts/TTF + echo "done." +} |