.k ""
FailAt 20

set bcol0 "*E[40m"
set bcol2 "*E[42m"
set bold  "*E[1m"
set nbold "*E[22m"

set libname "PTool.library"
set libver  "2.50"

set libnamet "$bold$libname$nbold"
set libvert "$bold($libver)$nbold"

Echo "*n     $bcol2 $libnamet Installation Script $bcol0*n"

Version >NIL: LIBS:$libname

If NOT ERROR
	Echo "The following version of $libnamet is currently in LIBS:" 
	Version LIBS:$libname
	Echo " "
Else
	Echo "*nNo existing $libnamet in LIBS:*n"
EndIf

Ask "Install $libnamet version: $libvert ?"
If NOT WARN
   Skip Aborted
EndIf

Copy libs/$libname LIBS:$libname
Echo "*n$libnamet $libvert copied to your LIBS: directory."

Echo "*nInstallation complete.*n"
Skip END

Lab ABORTED

Echo "*nInstallation aborted!*n"

Lab END

unset libname
unset libver
unset libnamet
unset libvert
unset bcol0
unset bcol2

Echo "*n*E[3mClick the close gadget to continue! *E[23m*n"

Wait 2
EndCLI >NIL:


