home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / demos / euro / qb_500_5.lzh / Patch_Script < prev    next >
Encoding:
Text File  |  1992-05-08  |  1.4 KB  |  47 lines

  1. Echo "Quarterback 5.0 to 5.0.1 patch script"
  2. Echo "by Mark Thomas"
  3. Echo "*NCopyright 1992 Central Coast Software"
  4. Echo "The new file created by this patch"
  5. Echo "is covered by the same licensing agreement"
  6. Echo "as the old program from which the patched"
  7. Echo "program is being made."
  8. Echo "*N Checking for Quarterback program..."
  9. If NOT EXISTS Quarterback
  10.    Echo " The Quarterback program does not appear"
  11.    Echo " to be in this directory.  Please read"
  12.    Echo " the file QB_Patch_Readme for further"
  13.    Echo " instructions."
  14.    Skip cleanup
  15. Else
  16.    Echo " Found Quarterback."
  17. Endif
  18. Echo " Checking Quarterback version..." NOLINE
  19. List >T:qb.ver Quarterback
  20. Search >NIL: T:qb.ver 193304
  21. If WARN
  22.    Search >NIL: T:qb.ver 197232
  23.    If WARN
  24.       Echo "*N This Quarterback may not be version 5.0."
  25.       Echo " This may be a result of using a file packer program."
  26.       Echo "*NContact Central Coast Software"
  27.       Echo "for further assistance."
  28.       Echo "(512)328-6650"
  29.       Quit
  30.    Else
  31.       Echo "5.0.1*N This Quarterback file is already version 5.0.1."
  32.    Endif
  33. Else
  34.    Echo "5.0*N Renaming the old Quarterback..."
  35.    Rename >NIL: Quarterback Quarterback.old
  36.    Echo " Patching Quarterback 5.0..."
  37.    Lpatch >NIL: -oQuarterback -pQB50-501.pch Quarterback.old
  38.    Echo " Removing old version of Quarterback file..."
  39.    Delete >NIL: Quarterback.old
  40. EndIf
  41.  
  42. LAB cleanup
  43. Echo "*N Cleaning up..."
  44. Delete >NIL: T:qb.ver
  45. Echo " Finished."
  46. Wait 10
  47. Endcli