summaryrefslogtreecommitdiffstats
path: root/system/FontAwesome/doinst.sh
diff options
context:
space:
mode:
author Andre Fernando2016-12-19 00:14:56 +0100
committer Willy Sudiarto Raharjo2016-12-24 01:33:33 +0100
commitc50090b17a4ca128230ee3aed7675aad63e36e30 (patch)
treea828f1a629612e97e397494fa90c0b31ff30a7fc /system/FontAwesome/doinst.sh
parent5dcae10c731899d97e6668407b3464a2659e9096 (diff)
downloadslackbuilds-c50090b17a4ca128230ee3aed7675aad63e36e30.tar.gz
system/FontAwesome: Added (Iconic font designed for Bootstrap).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/FontAwesome/doinst.sh')
-rw-r--r--system/FontAwesome/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/FontAwesome/doinst.sh b/system/FontAwesome/doinst.sh
new file mode 100644
index 0000000000..883c47ac0a
--- /dev/null
+++ b/system/FontAwesome/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