From 27c484b5898e72bbb8552cc9397d3a7316b8042f Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Mon, 19 Apr 2010 19:01:42 +0200 Subject: [PATCH] microsoft-web-core-fonts: changed to install fonts into '/usr/share/fonts/truetype/ms-corefonts' --- .../microsoft-web-core-fonts/microsoft-web-core-fonts.conf | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/fonts/microsoft-web-core-fonts/microsoft-web-core-fonts.conf b/fonts/microsoft-web-core-fonts/microsoft-web-core-fonts.conf index 5a67e1f22..2c6d2dd3c 100644 --- a/fonts/microsoft-web-core-fonts/microsoft-web-core-fonts.conf +++ b/fonts/microsoft-web-core-fonts/microsoft-web-core-fonts.conf @@ -2,6 +2,7 @@ # This copyright note is auto-generated by ./scripts/Create-CopyPatch. # # Filename: package/.../microsoft-web-core-fonts/microsoft-web-core-fonts.conf +# Copyright (C) 2010 The OpenSDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 1998 - 2003 Clifford Wolf # @@ -14,7 +15,8 @@ # --- SDE-COPYRIGHT-NOTE-END --- ms_tt_inst() { - + local fontpath="$root/usr/share/fonts/truetype/ms-corefonts" + mkdir -p "$fontpath" for x in `match_source_file -p .`; do echo "${x##*/}" case "$x" in @@ -23,7 +25,7 @@ ms_tt_inst() { esac # check for a way to lowercase all files? - mv -vf $(ls *.TTF *.ttf) $root/usr/X11/lib/X11/fonts/TTF/ + mv -vf $(ls *.TTF *.ttf) "$fontpath/" done }