home *** CD-ROM | disk | FTP | other *** search
/ Amiga MA Magazine 1998 #3 / amigamamagazinepolishissue1998.iso / bazy / bbaseiii / install_lib < prev    next >
Text File  |  1994-08-30  |  999b  |  48 lines

  1. ; .k ""
  2. FailAt 20
  3.                                         
  4. set bgcol0  "*e[40m"
  5. set bgcol2  "*e[42m"
  6. set boldON  "*e[1m"
  7. set boldOFF "*e[22m"
  8.  
  9. Echo "*N                    $bgcol2 Library Installation Script $bgcol0 *N"
  10.  
  11. set libnam "arp.library"
  12. set libver "39.1"
  13. set libnamB "$boldON$libnam$boldOFF"
  14. set libverB "$boldON$libver$boldOFF"
  15.  
  16. Version >NIL: LIBS:$libnam
  17.  
  18. If NOT ERROR
  19.     Echo "    The following version of $libnamB is currently in LIBS: *N"
  20.     Echo "                   " NOLINE
  21.     Version LIBS:$libnam
  22. Else
  23.     Echo "*N    No existing $libnamB in LIBS: *N"
  24. EndIf
  25.  
  26. Ask "*N    Install $libnamB Version $libverB ?"
  27. If NOT WARN
  28.     Echo "*N            $bgcol2 $libnam NOT installed! $bgcol0"
  29.     Skip END
  30. EndIf
  31.  
  32. Copy Libs/$libnam LIBS:
  33. Echo "*N    $bgcol2 $libnam V$libver copied to your LIBS: directory. $bgcol0"
  34.  
  35. Lab END
  36.  
  37. Echo "*N*N        End of installation script.  Click the Close Gadget.*N"
  38.  
  39. unset libnam
  40. unset libver
  41. unset libnamB
  42. unset libverB
  43. unset bgcol0
  44. unset bgcol2
  45. unset boldON
  46. unset boldOFF
  47.  
  48.