home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The CDPD Public Domain Collection for CDTV 3
/
CDPDIII.bin
/
bbs
/
ff825.lha
/
FF825
/
ASokoban
/
InstallLibrary
< prev
next >
Wrap
Text File
|
2001-02-25
|
1KB
|
42 lines
.K ""
echo "This script will install the following library, after first checking"
echo "to see if you already have one installed:"
echo ""
echo " reqtools.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:reqtools.library
echo "No existing reqtools.library, installing version 38.1002..."
copy libs/reqtools.library libs:reqtools.library
else
failat 20
echo "Found " noline
version reqtools.library 38 1002
if warn
ask "Do you wish to update libs:reqtools.library to version 38.1002? [y/n]"
if warn
echo "Updating libs:reqtools.library..."
protect libs:reqtools.library rwed
copy libs/reqtools.library libs:reqtools.library
else
echo "libs:reqtools.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: