home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d5xx / d586 / azmake.lha / AzMake / InstallLibrary < prev    next >
Text File  |  1992-01-04  |  990b  |  34 lines

  1. .K ""
  2. echo "This script will install the following library, after first"
  3. echo "checking to see if you already have one installed.  If so, it"
  4. echo "will check the version numbers of the installed one, and the one"
  5. echo "in this directory, and give you the option of installing the one"
  6. echo "found here."
  7. echo ""
  8. echo "        libs/arp.library    =>    libs:"
  9. echo ""
  10.  
  11. ask "Do you wish to continue with the installation of arp.library? [y/n]"
  12. if WARN
  13.     if not EXISTS libs:arp.library
  14.         echo "No existing library, installing libs:arp.library..."
  15.         copy libs/arp.library libs:arp.library
  16.     else
  17.         echo "Examine the version numbers of each library."
  18.         echo ""
  19.         version libs:arp.library
  20.         version libs/arp.library
  21.         echo ""
  22.         ask "Do you wish to overwrite libs:arp.library? [y/n]"
  23.         if WARN
  24.             echo "Updating libs:arp.library..."
  25.             copy libs/arp.library libs:arp.library
  26.         else
  27.             echo "libs:arp.library unchanged..."
  28.         endif
  29.     endif
  30. endif
  31.  
  32. echo "All Done.  Click close gadget to get rid of window."
  33. endcli
  34.