SUGGESTED FIX
The current case statement in the SUNWj3rt postinstall script is
woefully out of date, and needs a specific case for both
9 and 10
I've modified a copy of 1.4.2_03, adding the following
to the first case statement, and confirmed that this
correctly installs 1.4.2 on S10, leaving 1.5.0 as the default.
8 )
if [ "$PKG_VERSION" = "1.2" ]; then
DEFAULT=TRUE;
else
CheckIfDefault
if [ $? -ne 0 ]; then
DEFAULT=FALSE
else
DEFAULT=TRUE
fi
fi
;;
9 )
if [ "$PKG_VERSION" = "1.3" -o "$PKG_VERSION" = "1.4" ];
then
DEFAULT=TRUE;
else
CheckIfDefault
if [ $? -ne 0 ]; then
DEFAULT=FALSE
else
DEFAULT=TRUE
fi
fi
;;
10 )
CheckIfDefault
if [ $? -ne 0 ]; then
DEFAULT=FALSE
else
DEFAULT=TRUE
fi
;;
* )
CheckIfDefault
if [ $? -ne 0 ]; then
DEFAULT=FALSE
else
DEFAULT=TRUE
fi
;;
|