summarylogtreecommitdiffstats
path: root/ttf-ms-win10.install
diff options
context:
space:
mode:
authorMichael Lass2015-08-21 09:09:21 +0200
committerMichael Lass2015-08-21 09:34:35 +0200
commit522e69bdb090033548e93c174e1896ad6cfb7e70 (patch)
tree5f8c65aeeff685bf819561b24a478be5d3bddc08 /ttf-ms-win10.install
downloadaur-522e69bdb090033548e93c174e1896ad6cfb7e70.tar.gz
Initial commit
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
+}