6760202 Broken link in SUNWxwfnt
authorAlan Coopersmith <Alan.Coopersmith@Sun.COM>
Wed, 22 Oct 2008 18:21:45 -0700
changeset 570 e1ad93d05367
parent 569 ebeecd89c393
child 571 3cd339ec5ff8
6760202 Broken link in SUNWxwfnt
packages/SUNWxwfnt/postinstall.tmpl
packages/SUNWxwfnt/postremove.tmpl
--- a/packages/SUNWxwfnt/postinstall.tmpl	Wed Oct 22 18:21:03 2008 -0700
+++ b/packages/SUNWxwfnt/postinstall.tmpl	Wed Oct 22 18:21:45 2008 -0700
@@ -57,11 +57,17 @@
 
 include fontcatlink
 
+# A link to the TTF directory was accidentally delivered in nv_101,
+# before the TTF directory has been integrated.   Remove it for now
+# until we deliver the TTF directory.
+rm -f $BASEDIR/../etc/X11/fontpath.d/TTF:pri=40
+
 make_font_catalogue_link F3bitmaps	F3bitmaps:unscaled:pri=10
 make_font_catalogue_link misc		misc:unscaled:pri=15
 make_font_catalogue_link 100dpi		100dpi:unscaled:pri=20
 make_font_catalogue_link 75dpi		75dpi:unscaled:pri=25
-make_font_catalogue_link TTF		TTF:pri=40
+# make_font_catalogue_link TTF		TTF:pri=40
+make_font_catalogue_link TrueType	TrueType:pri=41
 make_font_catalogue_link F3bitmaps	F3bitmaps:pri=80
 make_font_catalogue_link misc		misc:pri=85
 make_font_catalogue_link 100dpi		100dpi:pri=90
--- a/packages/SUNWxwfnt/postremove.tmpl	Wed Oct 22 18:21:03 2008 -0700
+++ b/packages/SUNWxwfnt/postremove.tmpl	Wed Oct 22 18:21:45 2008 -0700
@@ -29,7 +29,7 @@
 #
 ###########################################################################
 #
-# 	@(#)postremove.tmpl	1.3	08/10/06 SMI
+# 	@(#)postremove.tmpl	1.4	08/10/22 SMI
 #
 # SUNWxwfnt (X Window System platform required fonts) postremove script.
 
@@ -55,6 +55,7 @@
 rm -f $BASEDIR/../etc/X11/fontpath.d/100dpi:unscaled:pri=20
 rm -f $BASEDIR/../etc/X11/fontpath.d/75dpi:unscaled:pri=25
 rm -f $BASEDIR/../etc/X11/fontpath.d/TTF:pri=40
+rm -f $BASEDIR/../etc/X11/fontpath.d/TrueType:pri=41
 rm -f $BASEDIR/../etc/X11/fontpath.d/misc:pri=80
 rm -f $BASEDIR/../etc/X11/fontpath.d/misc:pri=85
 rm -f $BASEDIR/../etc/X11/fontpath.d/100dpi:pri=90