1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00

Don't rm -f lib/X11/fonts/local/fonts.dir eventhough there's really no

other fonts left. fonts.dir are in XFree86's pkg-plist both in version 3
and version 4.
This commit is contained in:
Clive Lin 2001-01-05 04:42:38 +00:00
parent 9efa8d4a6c
commit aabb3bc5be
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=36805

View File

@ -6,5 +6,4 @@ lib/X11/fonts/local/kc_fonts.alias
@exec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@exec cd %D/lib/X11/fonts/local ; cat kc_fonts.alias >> fonts.alias ; cp fonts.alias ..fonts.alias.. ; sort ..fonts.alias.. | uniq > fonts.alias ; rm ..fonts.alias..
@unexec cd %D/lib/X11/fonts/local ; %D/bin/mkfontdir
@unexec if [ `wc -c %D/lib/X11/fonts/local/fonts.dir | awk '{print $1}'` = 2 ]; then rm -f %D/lib/X11/fonts/local/fonts.dir; fi
@unexec if [ ! -s %D/lib/X11/fonts/local/fonts.alias ]; then rm -f %D/lib/X11/fonts/local/fonts.alias; fi