summarylogtreecommitdiffstats
path: root/ttf-droid-sans-mono-slashed-powerline-git.install
diff options
context:
space:
mode:
Diffstat (limited to 'ttf-droid-sans-mono-slashed-powerline-git.install')
-rw-r--r--ttf-droid-sans-mono-slashed-powerline-git.install15
1 files changed, 15 insertions, 0 deletions
diff --git a/ttf-droid-sans-mono-slashed-powerline-git.install b/ttf-droid-sans-mono-slashed-powerline-git.install
new file mode 100644
index 000000000000..f8ecdd439d8a
--- /dev/null
+++ b/ttf-droid-sans-mono-slashed-powerline-git.install
@@ -0,0 +1,15 @@
+post_install() {
+ echo -n "Updating font cache... "
+ mkfontscale /usr/share/fonts/OTF > /dev/null 2>&1
+ mkfontdir /usr/share/fonts/OTF > /dev/null 2>&1
+ fc-cache -s >/dev/null
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}