home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 1999 March B / SCO_CASTOR4RRT.iso / jdk113 / install / preremove < prev   
Encoding:
Text File  |  1998-08-19  |  541 b   |  29 lines

  1. #! /bin/sh
  2. #ident    "%W%"
  3. # the JDK is now installed in /opt/jdk-1.1.3
  4.  
  5. # first find out, what OS we are running on
  6. unset UNIXWARE
  7. unset OPENSERVER
  8.  
  9. OSREL=`uname -X | grep Release | cut -f3 -d" " | cut -c1-7` >/dev/null 2>&1
  10. # OSREL contains now 3.2v5.0.[024] or 4.2MP or ??? Gemini
  11. if [ $OSREL = "3.2v5.0" ]
  12. then
  13.     OPENSERVER=1
  14. else
  15.     UNIXWARE=1
  16. fi
  17.  
  18. if [ ! -z "$OPENSERVER" ]
  19. then
  20.     ${DEBUG} rm -f /opt/K/SCO/JDK/1.1.3
  21. fi
  22.  
  23. if [ ! -z "$UNIXWARE" ]
  24. then
  25.     rm -f /opt/jdk-1.1.3/lib/x86at/green_threads/libXm.so.1.3
  26. fi
  27.  
  28. # ----------- END -----------
  29.