summarylogtreecommitdiffstats
path: root/ttf-jomolhari.install
diff options
context:
space:
mode:
authorMike Lenzen2015-06-23 19:36:15 +0600
committerMike Lenzen2015-06-23 19:40:12 +0600
commit6b669e0a1c91b67a9b1ef4ec954daef46b523462 (patch)
tree85321bea60f258e561e9e607fff4de12669339e8 /ttf-jomolhari.install
downloadaur-6b669e0a1c91b67a9b1ef4ec954daef46b523462.tar.gz
Initial commit
Changes to be committed: new file: .SRCINFO new file: OFL.txt new file: PKGBUILD new file: ttf-jomolhari.install
Diffstat (limited to 'ttf-jomolhari.install')
-rw-r--r--ttf-jomolhari.install16
1 files changed, 16 insertions, 0 deletions
diff --git a/ttf-jomolhari.install b/ttf-jomolhari.install
new file mode 100644
index 000000000000..8109bf726352
--- /dev/null
+++ b/ttf-jomolhari.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache >/dev/null -f
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo done
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
+