home *** CD-ROM | disk | FTP | other *** search
/ Fish 'n' More 3 / FishMoreVol3.bin / fishfinders / installlibrary < prev    next >
Text File  |  1991-10-27  |  872b  |  31 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. ask "Do you wish to continue with the installation of req.library? [y/n]"
  9. if WARN
  10.     if not EXISTS libs:req.library
  11.         echo "No existing library, installing libs:req.library..."
  12.         copy libs/req.library libs:req.library
  13.     else
  14.         echo "Examine the version numbers of each library."
  15.         echo ""
  16.         version libs:req.library
  17.         version libs/req.library
  18.         echo ""
  19.         ask "Do you wish to overwrite libs:req.library? [y/n]"
  20.         if WARN
  21.             echo "Updating libs:req.library..."
  22.             copy libs/req.library libs:req.library
  23.         else
  24.             echo "libs:req.library unchanged..."
  25.         endif
  26.     endif
  27. endif
  28.  
  29. echo "All Done."
  30. wait 3
  31.