summaryrefslogtreecommitdiff
path: root/system/linux-libertine-fonts/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhvng@gmail.com>2012-12-09 11:01:06 -0500
committerdsomero <xgizzmo@slackbuilds.org>2012-12-11 16:22:00 -0500
commit2015e7c074a5915e741635b293354b40c3bbb609 (patch)
tree28598c0ea1e0bd2e1c762109526a8efdbf6b510a /system/linux-libertine-fonts/doinst.sh
parent88a36d6a54355c1d7cd8565483fbee0518b7941c (diff)
downloadslackbuilds-2015e7c074a5915e741635b293354b40c3bbb609.tar.gz
system/linux-libertine-fonts: Added (Linux Libertine fonts)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
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
+