home *** CD-ROM | disk | FTP | other *** search
/ Otherware / Otherware_1_SB_Development.iso / amiga / programm / libs / reqtool.lha / ReqTools / Install / Install ReqTools next >
Encoding:
Text File  |  1992-07-17  |  1.2 KB  |  60 lines

  1.  
  2. ; Install script for ReqTools (Workbench 2.0)
  3.  
  4. (set @default-dest "")
  5.  
  6. (set reqtoolslib "/libs20/reqtools.library")
  7. (set rtpatch "/RTPatch/RTPatch")
  8.  
  9. ;=============================================================================
  10. ; English strings
  11.  
  12. (set #bad-kick
  13. (cat "You must be using Kickstart 2.04 to install using this script."
  14.       " Double-click the 'Workbench_1.2-1.3' icon to install ReqTools on"
  15.       " Kickstart 1.2 or 1.3 machines."
  16. ))
  17.  
  18. (set #copying-reqtools "Copying reqtools.library to Libs:...")
  19. (set #copying-rtpatch  "Copying RTPatch...")
  20.  
  21. ;=============================================================================
  22. ; make sure we are running under a 2.04 ROM
  23.  
  24. (if (< (/ (getversion) 65536) 37)
  25. (
  26.     (abort #bad-kick)
  27. ))
  28.  
  29. ;=============================================================================
  30.  
  31. (copylib
  32.     (prompt "\n" #copying-reqtools)
  33.     (help @copylib-help)
  34.     (source reqtoolslib)
  35.     (dest "Libs:")
  36.     (confirm)
  37. )
  38.  
  39. (if (exists "C:RTPatch")
  40. (
  41.     (copylib
  42.         (prompt "\n" #copying-rtpatch)
  43.         (help @copylib-help)
  44.         (source rtpatch)
  45.         (dest "C:")
  46.         (confirm)
  47.     )
  48. ))
  49.  
  50. (if (exists "SYS:WbStartup/RTPatch")
  51. (
  52.     (copylib
  53.         (prompt "\n" #copying-rtpatch)
  54.         (help @copylib-help)
  55.         (source rtpatch)
  56.         (dest "SYS:WbStartup")
  57.         (confirm)
  58.     )
  59. ))
  60.