summarylogtreecommitdiffstats
path: root/otf-tenderness.install
diff options
context:
space:
mode:
Diffstat (limited to 'otf-tenderness.install')
-rw-r--r--otf-tenderness.install18
1 files changed, 18 insertions, 0 deletions
diff --git a/otf-tenderness.install b/otf-tenderness.install
new file mode 100644
index 000000000000..8de353a0501f
--- /dev/null
+++ b/otf-tenderness.install
@@ -0,0 +1,18 @@
+post_install() {
+ fc-cache -f > /dev/null
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*