aboutsummaryrefslogtreecommitdiff
path: root/system/apple-fonts-SF/doinst.sh
diff options
context:
space:
mode:
authorPetar Petrov <slackalaxy@gmail.com>2023-04-28 08:13:02 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2023-04-29 18:11:44 +0700
commit78b524548ea9c6d1d1c95cb7957bdeb308d56e23 (patch)
tree1483946c0546d7fd3591e301a431785c5b27d2f5 /system/apple-fonts-SF/doinst.sh
parent3a6616146a8cd3a7e08c0b35e48fe39a9be6e52e (diff)
system/apple-fonts-SF: Added (Apple San Francisco fonts)
Signed-off-by: bedlam <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/apple-fonts-SF/doinst.sh')
-rw-r--r--system/apple-fonts-SF/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/apple-fonts-SF/doinst.sh b/system/apple-fonts-SF/doinst.sh
new file mode 100644
index 0000000000..412793f9d9
--- /dev/null
+++ b/system/apple-fonts-SF/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/mkfontdir ]; then
+ ( cd /usr/share/fonts/OTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi