summarylogtreecommitdiffstats
path: root/ttf-xo-oriel-condensed.install
diff options
context:
space:
mode:
authorRoman Mikhayloff2016-12-21 18:47:05 +0300
committerRoman Mikhayloff2016-12-21 18:47:05 +0300
commitd52d87e2e55b925f9c1c000d061b4c074e67bc84 (patch)
tree7e585467cb7c1841e8d485594ac8642d1473de3f /ttf-xo-oriel-condensed.install
downloadaur-d52d87e2e55b925f9c1c000d061b4c074e67bc84.tar.gz
add ttf-xo-oriel-condensed package
Diffstat (limited to 'ttf-xo-oriel-condensed.install')
-rw-r--r--ttf-xo-oriel-condensed.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-xo-oriel-condensed.install b/ttf-xo-oriel-condensed.install
new file mode 100644
index 000000000000..724145fffa8a
--- /dev/null
+++ b/ttf-xo-oriel-condensed.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s > /dev/null
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}