aboutsummaryrefslogtreecommitdiff
path: root/system/noto-emoji/doinst.sh
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-03-09 21:07:58 +0000
committerDavid Spencer <idlemoor@slackbuilds.org>2017-03-09 21:07:58 +0000
commit50bfa12c572e618c7a211825d75ad4ef6634f07e (patch)
tree8394e9a952b8f8e45333c9b507794acf1d923966 /system/noto-emoji/doinst.sh
parent7a337808e8732b8766982cca2c5573e9903d91f5 (diff)
downloadslackbuilds-50bfa12c572e618c7a211825d75ad4ef6634f07e.tar.xz
system/noto-emoji: Added (Noto Emoji fonts).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'system/noto-emoji/doinst.sh')
-rw-r--r--system/noto-emoji/doinst.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/noto-emoji/doinst.sh b/system/noto-emoji/doinst.sh
new file mode 100644
index 000000000000..8fec9f534006
--- /dev/null
+++ b/system/noto-emoji/doinst.sh
@@ -0,0 +1,11 @@
+# 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