summarylogtreecommitdiffstats
path: root/ttf-dotsies.install
diff options
context:
space:
mode:
Diffstat (limited to 'ttf-dotsies.install')
-rw-r--r--ttf-dotsies.install20
1 files changed, 20 insertions, 0 deletions
diff --git a/ttf-dotsies.install b/ttf-dotsies.install
new file mode 100644
index 000000000000..94e8986e5752
--- /dev/null
+++ b/ttf-dotsies.install
@@ -0,0 +1,20 @@
+post_install() {
+ ln -sfT /etc/fonts/conf.avail/21-dotsies.conf /etc/fonts/conf.d/21-dotsies.conf
+ fc-cache -fs
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_upgrade() {
+ ln -sfT /etc/fonts/conf.avail/21-dotsies.conf /etc/fonts/conf.d/21-dotsies.conf
+ fc-cache -fs
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}
+
+post_remove() {
+ rm -f /etc/fonts/conf.d/21-dotsies.conf
+ fc-cache -fs
+ mkfontscale usr/share/fonts/TTF
+ mkfontdir usr/share/fonts/TTF
+}