home *** CD-ROM | disk | FTP | other *** search
/ Club Amiga de Montreal - CAM / CAM_CD_1.iso / files / 498b.lha / DiskPrint_v2.7 / InstallLibrary < prev    next >
Text File  |  1991-04-08  |  1KB  |  44 lines

  1. .K ""
  2. echo "This script will install arp.library and powerpacker.library,"
  3. echo "after checking to see if you already have them.  If so, it will"
  4. echo "check the version numbers of the installed ones, and the ones in"
  5. echo "this directory, and give you the option of installing the ones"
  6. echo "found here."
  7. echo ""
  8.  
  9. if not EXISTS libs:arp.library
  10.     echo "No existing library, installing libs:arp.library..."
  11.     copy arp.library libs:arp.library
  12. else
  13.     echo "Examine the version numbers of each library."
  14.     echo ""
  15.     version libs:arp.library
  16.     version /DiskPrint/arp.library
  17.     echo ""
  18.     ask "Do you wish to overwrite libs:arp.library?"
  19.     if WARN
  20.         echo "Updating libs:arp.library..."
  21.         copy arp.library libs:arp.library
  22.     endif
  23. endif
  24.  
  25. if not EXISTS libs:powerpacker.library
  26.     echo "No existing library, installing libs:powerpacker.library..."
  27.     copy powerpacker.library libs:powerpacker.library
  28. else
  29.     echo "Examine the version numbers of each library."
  30.     echo ""
  31.     version libs:powerpacker.library
  32.     version /DiskPrint/powerpacker.library
  33.     echo ""
  34.     ask "Do you wish to overwrite libs:powerpacker.library?"
  35.     if WARN
  36.         echo "Updating libs:powerpacker.library..."
  37.         copy powerpacker.library libs:powerpacker.library
  38.     endif
  39. endif
  40.  
  41. echo ""
  42. echo "All Done.  Click close gadget to get rid of window."
  43. endcli
  44.