summarylogtreecommitdiffstats
path: root/otf.install
diff options
context:
space:
mode:
authorFlorian Mounier2019-02-14 11:46:38 +0100
committerFlorian Mounier2019-02-14 11:46:38 +0100
commit0294237584f6705a2b0b7cb3da70334ca6200309 (patch)
treee3c263d0e9982e566d5f7483151a26a051754d5a /otf.install
downloadaur-otf-fira-code-onum-patch.tar.gz
Initial import
Diffstat (limited to 'otf.install')
-rw-r--r--otf.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/otf.install b/otf.install
new file mode 100644
index 000000000000..487a592a9ad4
--- /dev/null
+++ b/otf.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done"
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+