Browse Source

Improved bitstream-vera-fonts to create the fonts/TTF directory if missing

early
Alejandro Mery 17 years ago
parent
commit
ff479b63f6
1 changed files with 5 additions and 1 deletions
  1. +5
    -1
      fonts/bitstream-vera-fonts/bitstream-vera-fonts.conf

+ 5
- 1
fonts/bitstream-vera-fonts/bitstream-vera-fonts.conf

@ -3,6 +3,7 @@
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
# #
# Filename: package/.../bitstream-vera-fonts/bitstream-vera-fonts.conf # Filename: package/.../bitstream-vera-fonts/bitstream-vera-fonts.conf
# Copyright (C) 2008 The OpenSDE Project
# Copyright (C) 2004 - 2006 The T2 SDE Project # Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf # Copyright (C) 1998 - 2003 Clifford Wolf
# #
@ -16,7 +17,10 @@
bs_inst() { bs_inst() {
cp -v *.ttf $root/usr/X11/lib/X11/fonts/TTF/
local ttfdir="$root/usr/X11/lib/X11/fonts/TTF"
[ -d "$ttfdir" ] || mkdir "$ttfdir"
cp -v *.ttf "$ttfdir/"
} }
custmain=bs_inst custmain=bs_inst

Loading…
Cancel
Save