summarylogtreecommitdiffstats
path: root/ttf-ms-win10.install
diff options
context:
space:
mode:
Diffstat (limited to 'ttf-ms-win10.install')
-rw-r--r--ttf-ms-win10.install17
1 files changed, 17 insertions, 0 deletions
diff --git a/ttf-ms-win10.install b/ttf-ms-win10.install
new file mode 100644
index 00000000000..f8cfb14bfb4
--- /dev/null
+++ b/ttf-ms-win10.install
@@ -0,0 +1,17 @@
+post_install() {
+ fc-cache -s
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ fc-cache -s
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_remove() {
+ fc-cache -s
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}