; This is the installer script for TritonWho, not much point in writing an
; actual C= Installer scriptfile for only copying 3 files !
;
; $VER: TritonWho Install Script 1.0 20.1.97
;
echo "------------------------------------------------------------------"
echo "                --- TritonWho Install Script ---"
echo "------------------------------------------------------------------"
echo ""
echo "This script simply copies the files in this distribution into the "
echo "respective places on your system."
echo ""

if not exists Libs:config.library
     copy libs/config.library libs:
    echo "You didn't have config.library in LIBS: I have now added it."
    echo ""
else
    version >nil: libs:config.library 2 0
    if warn
        copy libs/config.library libs:
        echo "The version of config.library you had was outdated, I have"
        echo "updated it."
        echo ""
    else
        echo "You had an acceptable config.library in LIBS:,"
        echo "well done, I like to see someone who knows quality when"
        echo "they see it."
        echo ""
    endif
endif

if not exists Libs:triton.library
    copy triton/triton.library libs:
    echo "You didn't have triton.library in LIBS: I have now added it."
    echo "Please be sure to read the readme file in the triton directory"
    echo "of this distribution."
    echo ""
else
    version >nil: libs:triton.library 6 109
    if warn
        copy triton/triton.library libs:
        echo "The version of triton.library you had was outdated, I have"
        echo "updated it.  There is a later version yet, please read the"
        echo "readme in the triton directory of this distribution."
        echo ""
    else
        echo "You had an acceptable triton.library in LIBS:,"
        echo "well done, I like to see someone who knows quality when they"
        echo "see it."
        echo ""
    endif
endif

echo "I now will copy TritonWho version 1.0 into your WBStartup directory."
copy TritonWho sys:WBStartup/
copy TritonWho.info sys:WBStartup/
echo ""
echo "All done, you may now double click on TritonWho's icon, or reboot"
echo "to start TritonWho."
echo ""
echo "____________Please read the documentation first though.____________"


