diff options
Diffstat (limited to 'otf.install')
-rw-r--r-- | otf.install | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/otf.install b/otf.install new file mode 100644 index 000000000000..336b6b7b6daf --- /dev/null +++ b/otf.install @@ -0,0 +1,15 @@ +post_install() { + echo -ne $'Updating font cache ...\n\e[1A\e[24C' + fc-cache -f > /dev/null + mkfontscale /usr/share/fonts/OTF + mkfontdir /usr/share/fonts/OTF + echo -ne $'done.\n' +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |