summaryrefslogtreecommitdiff
path: root/system/ttf-bitstream-vera/doinst.sh
diff options
context:
space:
mode:
authorErik Hanson <erik@slackbuilds.org>2010-06-28 10:50:01 -0400
committerdsomero <xgizzmo@slackbuilds.org>2010-06-28 10:50:01 -0400
commit5ec7c1fa82d30336e2283e5f326f8884eaffb1ac (patch)
treedfb2b2816044f772acbabc065f00f7c5293fe37c /system/ttf-bitstream-vera/doinst.sh
parent8ede068e5a46b5b61445733bf6b8c5ffbee8609c (diff)
downloadslackbuilds-5ec7c1fa82d30336e2283e5f326f8884eaffb1ac.tar.gz
system/ttf-bitstream-vera: Added (Bitstream Vera Fonts)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/ttf-bitstream-vera/doinst.sh')
-rw-r--r--system/ttf-bitstream-vera/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/ttf-bitstream-vera/doinst.sh b/system/ttf-bitstream-vera/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/ttf-bitstream-vera/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