home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Club Amiga de Montreal - CAM
/
CAM_CD_1.iso
/
files
/
625.lha
/
STScan_v2.0
/
InstallLibrary
< prev
next >
Wrap
Text File
|
1992-02-22
|
1KB
|
35 lines
.K ""
echo "This script will install req.library, after first checking to see if"
echo "you already have one installed. If so, it will check the version"
echo "number of the installed one, and give you the option of installing"
echo "the one found here."
echo ""
ask "Do you wish to continue with the installation? [y/n]"
if WARN
if not EXISTS libs:req.library
echo "No existing library, installing libs:req.library..."
copy req.library libs:req.library
else
echo "The version here is 2.5."
failat 20
echo "Your currently installed library version is:"
version req.library 2 5
if WARN
ask "Do you wish to update libs:req.library? [y/n]"
if WARN
echo "Updating libs:req.library..."
protect libs:req.library rwed
copy library/req.library libs:req.library
else
echo "libs:req.library unchanged."
endif
else
echo "The current installed version is up to date."
endif
endif
endif
echo "All Done. Click close gadget to get rid of window."
endcli