Browse Source

microsoft-web-core-fonts: changed to install fonts into '/usr/share/fonts/truetype/ms-corefonts'

user/chris/test/early-mdev
Christian Wiese 15 years ago committed by Christian Wiese
parent
commit
27c484b589
  1. 6
      fonts/microsoft-web-core-fonts/microsoft-web-core-fonts.conf

6
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
}

Loading…
Cancel
Save