aboutsummaryrefslogtreecommitdiff
path: root/system/ttf-ubuntu-font-family/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-11-28 00:38:35 -0600
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-11-29 12:45:57 +0100
commit950e9acb8a63fdff63bc103466a2dae909f08db2 (patch)
tree042b39f4788577478e1ecc6134ca9ae86cbfef94 /system/ttf-ubuntu-font-family/doinst.sh
parenta8152d3a0622b8c07dcccd2bf1461d25b2aa1eff (diff)
system/ttf-ubuntu-font-family: Added (sans-serif typeface)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/ttf-ubuntu-font-family/doinst.sh')
-rw-r--r--system/ttf-ubuntu-font-family/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/ttf-ubuntu-font-family/doinst.sh b/system/ttf-ubuntu-font-family/doinst.sh
new file mode 100644
index 000000000000..883c47ac0a60
--- /dev/null
+++ b/system/ttf-ubuntu-font-family/doinst.sh
@@ -0,0 +1,10 @@
+# Update the X font indexes:
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi