home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 2: PC / frozenfish_august_1995.bin / bbs / d09xx / d0957.lha / VChess / InstallLibs < prev    next >
Text File  |  1994-01-17  |  2KB  |  80 lines

  1. .k ""
  2. FailAt 25
  3.  
  4. set bcol0 "*E[40m"
  5. set bcol2 "*E[42m"
  6. set bold  "*E[1m"
  7. set nbold "*E[22m"
  8.  
  9. ;-----------------------------------------------------------------------
  10. set libname "reqtools.library"
  11. set libver  "38.1022"
  12. set libnamet "$bold$libname$nbold"
  13. set libvert "$bold($libver)$nbold"
  14.  
  15. Echo "*n     $bcol2 Library Installation Script $bcol0*n"
  16.  
  17. Version >NIL: LIBS:$libname
  18.  
  19. If NOT ERROR
  20.     Echo "The following version of $libnamet is currently in LIBS:" 
  21.     Version LIBS:$libname
  22.     Echo " "
  23. Else
  24.     Echo "*nNo existing $libnamet in LIBS:*n"
  25. EndIf
  26.  
  27. Ask "Install $libnamet version: $libvert ?"
  28. If NOT WARN
  29.    Skip LIB2
  30. EndIf
  31.  
  32. Copy libs/$libname LIBS:$libname
  33. Echo "*n$libnamet $libvert copied to your LIBS: directory."
  34.  
  35. ;-----------------------------------------------------------------------
  36. Lab LIB2
  37. Echo "*n*n"
  38.  
  39. set libname "garbagecollector.library"
  40. set libver  "2.0"
  41. set libnamet "$bold$libname$nbold"
  42. set libvert "$bold($libver)$nbold"
  43.  
  44. Version >NIL: LIBS:$libname
  45.  
  46. If NOT ERROR
  47.     Echo "The following version of $libnamet is currently in LIBS:" 
  48.     Version LIBS:$libname
  49.     Echo " "
  50. Else
  51.     Echo "*nNo existing $libnamet in LIBS:*n"
  52. EndIf
  53.  
  54. Ask "Install $libnamet version: $libvert ?"
  55. If NOT WARN
  56.    Skip Done
  57. EndIf
  58.  
  59. Copy libs/$libname LIBS:$libname
  60. Echo "*n$libnamet $libvert copied to your LIBS: directory."
  61.  
  62. ;-----------------------------------------------------------------------
  63.  
  64. Lab DONE
  65. Echo "*nInstallation complete.*n"
  66.  
  67. unset libname
  68. unset libver
  69. unset libnamet
  70. unset libvert
  71. unset bcol0
  72. unset bcol2
  73.  
  74. Echo "*n*E[3mClick the close gadget to continue! *E[23m*n"
  75.  
  76. Wait 1
  77. EndCLI >NIL:
  78.  
  79.  
  80.