summarylogtreecommitdiffstats
path: root/otf-inconsolata-dz-powerline.install
diff options
context:
space:
mode:
Diffstat (limited to 'otf-inconsolata-dz-powerline.install')
-rwxr-xr-xotf-inconsolata-dz-powerline.install13
1 files changed, 13 insertions, 0 deletions
diff --git a/otf-inconsolata-dz-powerline.install b/otf-inconsolata-dz-powerline.install
new file mode 100755
index 000000000000..001bd456b52e
--- /dev/null
+++ b/otf-inconsolata-dz-powerline.install
@@ -0,0 +1,13 @@
+post_install()
+{
+ echo -n "Updating font cache..."
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
+ echo "done"
+}
+
+post_upgrade()
+{
+ post_install
+}