home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Creative Computers
/
CreativeComputers.iso
/
shareware
/
fractals
/
treegrow
/
installlibrary
next >
Wrap
Text File
|
1994-11-17
|
2KB
|
64 lines
.K ""
echo "This script will install the following libraries, after first checking"
echo "to see if you already have one installed:"
echo ""
echo " ilbm.library"
echo " req.library"
echo ""
echo "If you have one installed, it will check the version number of the"
echo "installed one and ask if you wish to update it."
echo ""
FailAt 20
ask "Do you wish to continue with the installation? [y/n]"
if not warn
skip NoInstall
endif
if not exists libs:req.library
echo "No existing req.library, installing version 2.5..."
copy libs/req.library libs:req.library
else
failat 20
echo "Found " noline
version req.library 2 5
if warn
ask "Do you wish to update libs:req.library to version 2.5? [y/n]"
if warn
echo "Updating libs:req.library..."
protect libs:req.library rwed
copy libs/req.library libs:req.library
else
echo "libs:req.library unchanged."
endif
else
echo "The current installed version is up to date."
endif
endif
if not exists libs:ilbm.library
echo "No existing ilbm.library, installing version 0.5 ..."
copy libs/ilbm.library libs:ilbm.library
else
failat 20
echo "Found " noline
version ilbm.library 0 -1
if warn
ask "Do you wish to update libs:ilbm.library to version 0.5? [y/n]"
if warn
echo "Updating libs:ilbm.library..."
protect libs:ilbm.library rwed
copy libs/ilbm.library libs:ilbm.library
else
echo "libs:ilbm.library unchanged."
endif
else
echo "The current installed version is up to date."
endif
endif
lab NoInstall
echo "*nAll Done. Click close gadget to get rid of window."
endcli > nil: