home *** CD-ROM | disk | FTP | other *** search
Text Truncated. Only the first 1MB is shown below. Download the file for the complete contents.
- #!/bin/sh
- PATH=/usr/bin
- libthread_path=Solaris_JRE_1.2.2_05a/lib/i386
- outname=install.sfx.$$
- trap 'rm -f $outname; exit 1' HUP INT QUIT TERM
- echo "Unpacking..."
- tail +45 $0 > $outname
- if [ -x /usr/bin/sum ] ; then
- echo "Checksumming..."
-
- sum=`/usr/bin/sum $outname`
- index=1
- for s in $sum
- do
- case $index in
- 1) sum1=$s;
- index=2;
- ;;
- 2) sum2=$s;
- index=3;
- ;;
- esac
- done
- if expr $sum1 != 58659 || expr $sum2 != 20449 ; then
- echo "The download file appears to be corrupted. Please refer"
- echo "to the Troubleshooting section of the Installation"
- echo "Instructions on the download page for more information."
- echo "Please do not attempt to install this archive file."
- exit 1
- fi
- else
- echo "Can't find /usr/bin/sum to do checksum. Continuing anyway."
- fi
- chmod +x $outname
- echo "Extracting..."
- ./$outname
- if [ -n "$libthread_path" ] && [ -f "$libthread_path/`uname -r`/libthread.so.1" ]; then
- echo "Making libthread links"
- ln -s `uname -r`/libthread.so.1 $libthread_path/libthread.so.1
- ln -s libthread.so.1 $libthread_path/libthread.so
- fi
- echo "Done."
- rm -f $outname
- exit 0
- ELF ⁿÖ4 ñ╫ 4