home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 2 / fishmore-publicdomainlibraryvol.ii1991xetec.iso / disks / disk430.lzh / SculptTools / InstallLibrary < prev    next >
Text File  |  1991-01-11  |  756b  |  26 lines

  1. .K ""
  2. echo "This script will install req.library, after checking to see if"
  3. echo "you already have one.  If so, it will check the version numbers"
  4. echo "of the installed one, and the one in this directory, and give"
  5. echo "you the option of installing the one found here."
  6. echo ""
  7.  
  8. if not EXISTS libs:req.library
  9.     echo "No existing library, installing libs:req.library..."
  10.     copy req.library libs:req.library
  11. else
  12.     echo "Examine the version numbers of each library."
  13.     echo ""
  14.     version libs:req.library
  15.     version /SculptTools/req.library
  16.     echo ""
  17.     ask "Do you wish to overwrite libs:req.library?"
  18.     if WARN
  19.         echo "Updating libs:req.library..."
  20.         copy req.library libs:req.library
  21.     endif
  22. endif
  23.  
  24. echo "All Done.  Click close gadget to get rid of window."
  25. endcli
  26.