diff options
author | Zach Jaggi | 2015-06-27 13:05:09 -0400 |
---|---|---|
committer | Zach Jaggi | 2015-06-27 13:05:09 -0400 |
commit | f17ebdec7d3fe5dd1f94e6e132c5420ad4cbd707 (patch) | |
tree | 85a6b58b2196c81d7c413b4c1076a1dfeba10098 /ttf-dotsies.install | |
download | aur-f17ebdec7d3fe5dd1f94e6e132c5420ad4cbd707.tar.gz |
Initial commit
Diffstat (limited to 'ttf-dotsies.install')
-rw-r--r-- | ttf-dotsies.install | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/ttf-dotsies.install b/ttf-dotsies.install new file mode 100644 index 000000000000..94e8986e5752 --- /dev/null +++ b/ttf-dotsies.install @@ -0,0 +1,20 @@ +post_install() { + ln -sfT /etc/fonts/conf.avail/21-dotsies.conf /etc/fonts/conf.d/21-dotsies.conf + fc-cache -fs + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF +} + +post_upgrade() { + ln -sfT /etc/fonts/conf.avail/21-dotsies.conf /etc/fonts/conf.d/21-dotsies.conf + fc-cache -fs + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF +} + +post_remove() { + rm -f /etc/fonts/conf.d/21-dotsies.conf + fc-cache -fs + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF +} |