summaryrefslogtreecommitdiffstats
path: root/system/linux-libertine-fonts/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/linux-libertine-fonts/doinst.sh')
-rw-r--r--system/linux-libertine-fonts/doinst.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/system/linux-libertine-fonts/doinst.sh b/system/linux-libertine-fonts/doinst.sh
new file mode 100644
index 0000000000..435243dd0d
--- /dev/null
+++ b/system/linux-libertine-fonts/doinst.sh
@@ -0,0 +1,12 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ /usr/bin/mkfontscale /usr/share/fonts/TTF
+ /usr/bin/mkfontdir /usr/share/fonts/TTF
+
+ /usr/bin/mkfontscale /usr/share/fonts/OTF
+ /usr/bin/mkfontdir /usr/share/fonts/OTF
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
+