home *** CD-ROM | disk | FTP | other *** search
/ SGI Hot Mix 12 / Silicon_Graphics_Developer_Magic_Soft_Dev_812-8101-012.iso / .all / demos / netscape / RemoveIt2 < prev    next >
Encoding:
Text File  |  1995-11-10  |  595 b   |  32 lines

  1. #!/bin/csh -f
  2. if ( `versions netscape | grep "1.12IS" | wc -l` > 0 ) then
  3. echo ""
  4. echo ""
  5. echo "Remove Netscape (y/n)? \c"
  6. set ans=($<)
  7. if ( $ans != 'y' ) then
  8. echo " "
  9.                 echo "... Bye."
  10.                 sleep 3
  11.                 exit
  12. else
  13. echo " "  
  14.  
  15. echo "Removing Netscape.  Please wait, this will take a few minutes..."  
  16. echo " "  
  17. versions remove netscape
  18. echo " "  
  19. echo "Done!"
  20. echo " "  
  21. endif
  22. else
  23. echo ""
  24. echo ""
  25. echo "It appears that Netscape 1.12IS is not currently installed."
  26. echo "Exiting..."
  27. echo ""
  28. echo ""
  29. echo "Press Enter to exit this window...  \c" 
  30. set a = $<
  31.  
  32.