6742305 SUNWfontconfig-root is missing postinstall script and fix for bugid 6696405 is incomplete
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/packages/SUNWfontconfig-root/postinstall Thu Aug 28 14:08:13 2008 -0700
@@ -0,0 +1,46 @@
+###########################################################################
+#
+# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
+#
+# Permission is hereby granted, free of charge, to any person obtaining a
+# copy of this software and associated documentation files (the
+# "Software"), to deal in the Software without restriction, including
+# without limitation the rights to use, copy, modify, merge, publish,
+# distribute, and/or sell copies of the Software, and to permit persons
+# to whom the Software is furnished to do so, provided that the above
+# copyright notice(s) and this permission notice appear in all copies of
+# the Software and that both the above copyright notice(s) and this
+# permission notice appear in supporting documentation.
+#
+# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
+# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
+# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
+# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
+# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
+# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+#
+# Except as contained in this notice, the name of a copyright holder
+# shall not be used in advertising or otherwise to promote the sale, use
+# or other dealings in this Software without prior written authorization
+# of the copyright holder.
+#
+###########################################################################
+#
+# @(#)postinstall.tmpl 1.1 08/02/25 SMI
+#
+# SUNWfontconfig-root (Fontconfig library configuration files) postinstall script.
+
+
+# Force fontconfig cache rebuild on next boot
+DISKLESS_CLI=`echo $BASEDIR | /usr/bin/grep clone/Solaris_`
+if [ "$DISKLESS_CLI" ]; then
+ grep force_rebuild $BASEDIR/var/svc/profile/upgrade
+ if [ $? -ne 0 ]; then
+ cat >> $BASEDIR/var/svc/profile/upgrade <<\_EOF
+ /usr/sbin/svccfg -s application/font/fc-cache setprop options/force_rebuild=true
+_EOF
+ fi
+fi
--- a/packages/SUNWfontconfig-root/postinstall.tmpl Thu Aug 28 13:42:55 2008 -0700
+++ /dev/null Thu Jan 01 00:00:00 1970 +0000
@@ -1,46 +0,0 @@
-###########################################################################
-#
-# Copyright 2008 Sun Microsystems, Inc. All rights reserved.
-#
-# Permission is hereby granted, free of charge, to any person obtaining a
-# copy of this software and associated documentation files (the
-# "Software"), to deal in the Software without restriction, including
-# without limitation the rights to use, copy, modify, merge, publish,
-# distribute, and/or sell copies of the Software, and to permit persons
-# to whom the Software is furnished to do so, provided that the above
-# copyright notice(s) and this permission notice appear in all copies of
-# the Software and that both the above copyright notice(s) and this
-# permission notice appear in supporting documentation.
-#
-# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-# OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
-# OF THIRD PARTY RIGHTS. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
-# HOLDERS INCLUDED IN THIS NOTICE BE LIABLE FOR ANY CLAIM, OR ANY SPECIAL
-# INDIRECT OR CONSEQUENTIAL DAMAGES, OR ANY DAMAGES WHATSOEVER RESULTING
-# FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
-# NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
-# WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
-#
-# Except as contained in this notice, the name of a copyright holder
-# shall not be used in advertising or otherwise to promote the sale, use
-# or other dealings in this Software without prior written authorization
-# of the copyright holder.
-#
-###########################################################################
-#
-# @(#)postinstall.tmpl 1.1 08/02/25 SMI
-#
-# SUNWfontconfig-root (Fontconfig library configuration files) postinstall script.
-
-
-# Force fontconfig cache rebuild on next boot
-DISKLESS_CLI=`echo $BASEDIR | /usr/bin/grep clone/Solaris_`
-if [ "$DISKLESS_CLI" ]; then
- grep force_rebuild $BASEDIR/var/svc/profile/upgrade
- if [ $? -ne 0 ]; then
- cat >> $BASEDIR/var/svc/profile/upgrade <<\_EOF
- /usr/sbin/svccfg -s application/font/fc-cache setprop options/force_rebuild=true
- _EOF
- fi
-fi
--- a/packages/SUNWfontconfig-root/prototype Thu Aug 28 13:42:55 2008 -0700
+++ b/packages/SUNWfontconfig-root/prototype Thu Aug 28 14:08:13 2008 -0700
@@ -28,13 +28,14 @@
#
###########################################################################
#
-# ident "@(#)prototype 1.8 08/03/12 SMI"
+# ident "@(#)prototype 1.9 08/08/28 SMI"
#
# Fontconfig config files
i pkginfo
i copyright
i depend
+i postinstall
!HOME=../etc