diff options
Diffstat (limited to 'pcr/ttf-montserrat/ttf.install')
-rw-r--r-- | pcr/ttf-montserrat/ttf.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/pcr/ttf-montserrat/ttf.install b/pcr/ttf-montserrat/ttf.install new file mode 100644 index 000000000..1df944e73 --- /dev/null +++ b/pcr/ttf-montserrat/ttf.install @@ -0,0 +1,15 @@ +post_install() { + echo -n "Updating font cache... " + fc-cache -sf > /dev/null + mkfontscale usr/share/fonts/TTF + mkfontdir usr/share/fonts/TTF + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +}
\ No newline at end of file |