aboutsummaryrefslogtreecommitdiff
path: root/system/apple-fonts-NY/doinst.sh
diff options
context:
space:
mode:
Diffstat (limited to 'system/apple-fonts-NY/doinst.sh')
-rw-r--r--system/apple-fonts-NY/doinst.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/system/apple-fonts-NY/doinst.sh b/system/apple-fonts-NY/doinst.sh
new file mode 100644
index 0000000000000..412793f9d9296
--- /dev/null
+++ b/system/apple-fonts-NY/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