summaryrefslogtreecommitdiffstats
path: root/system/AnonymousPro/doinst.sh
diff options
context:
space:
mode:
author Eugene M2014-08-04 16:02:10 +0200
committer Willy Sudiarto Raharjo2014-08-04 16:02:10 +0200
commit75a9a8d2e3d52c9c90d952de8e30956c27cbea16 (patch)
tree2899e1a27411432139adfacc81e18eaada8f7741 /system/AnonymousPro/doinst.sh
parentdaa4146dca987630789209fe7af1d3ee147be5df (diff)
downloadslackbuilds-75a9a8d2e3d52c9c90d952de8e30956c27cbea16.tar.gz
system/AnonymousPro: Added (font for coders).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/AnonymousPro/doinst.sh')
-rw-r--r--system/AnonymousPro/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/AnonymousPro/doinst.sh b/system/AnonymousPro/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/AnonymousPro/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