summaryrefslogtreecommitdiff
path: root/system/google-droid-fonts/doinst.sh
diff options
context:
space:
mode:
authorBinh Nguyen <binhnguyen@fastmail.fm>2010-12-27 02:51:59 -0600
committerNiels Horn <niels.horn@slackbuilds.org>2010-12-27 20:06:58 -0200
commit6e1932f19b5c073f12eb8a06c68dc07ebcfbca99 (patch)
tree6fb95feed4a3199a9d99debab2c39b9aac05b98f /system/google-droid-fonts/doinst.sh
parentab1f06b96d194972498146efaba98c5810f48c0e (diff)
downloadslackbuilds-6e1932f19b5c073f12eb8a06c68dc07ebcfbca99.tar.gz
system/google-droid-fonts: Added (Google's Android font family)
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'system/google-droid-fonts/doinst.sh')
-rw-r--r--system/google-droid-fonts/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/google-droid-fonts/doinst.sh b/system/google-droid-fonts/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/google-droid-fonts/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