home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d536 / chemesthetics.lha / Chemesthetics / InstallLibs < prev    next >
Text File  |  1991-08-26  |  1KB  |  42 lines

  1. .K ""
  2. echo "This script will install arp.library and req.library, after checking"
  3. echo "to see if you already have them.  If so, it will check the version"
  4. echo "numbers of the installed one, and the one in this distribution, and"
  5. echo "give 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 libs/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 libs/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 libs/req.library libs:req.library
  21.     endif
  22. endif
  23.  
  24. if not EXISTS libs:arp.library
  25.     echo "No existing library, installing libs:arp.library..."
  26.     copy libs/arp.library libs:arp.library
  27. else
  28.     echo "Examine the version numbers of each library."
  29.     echo ""
  30.     version libs:arp.library
  31.     version libs/arp.library
  32.     echo ""
  33.     ask "Do you wish to overwrite libs:arp.library?"
  34.     if WARN
  35.         echo "Updating libs:arp.library..."
  36.         copy libs/arp.library libs:arp.library
  37.     endif
  38. endif
  39.  
  40. echo "All Done.  Click close gadget to get rid of window."
  41. endcli
  42.