summarylogtreecommitdiffstats
path: root/nerd-fonts-arimo.install
diff options
context:
space:
mode:
authorVincevrp2019-04-07 13:17:12 +0200
committerVincevrp2019-04-07 13:17:12 +0200
commit81125d50f42fcb61989b99351f6ed93e62feb314 (patch)
tree8969796dcd20b6f9c95645ae7647fc255bf56493 /nerd-fonts-arimo.install
downloadaur-81125d50f42fcb61989b99351f6ed93e62feb314.tar.gz
Initial commit
Diffstat (limited to 'nerd-fonts-arimo.install')
-rw-r--r--nerd-fonts-arimo.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/nerd-fonts-arimo.install b/nerd-fonts-arimo.install
new file mode 100644
index 000000000000..f26fc68b9c62
--- /dev/null
+++ b/nerd-fonts-arimo.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+ echo "done"
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}