home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Elysian Archive
/
AmigaElysianArchive.iso
/
prog
/
c
/
hardbloc.lha
/
HardBlocks
/
InstallLibrary
< prev
next >
Wrap
Text File
|
1992-08-04
|
1KB
|
35 lines
.K ""
echo "This script will install the hardblocks library, after first checking"
echo "to see if you already have one installed. If so, it will check the"
echo "version number of the installed one, and give you the option of"
echo "installing the one found here."
echo ""
ask "Do you wish to continue with the installation? [y/n]"
if WARN
if not EXISTS libs:hardblocks.library
echo "No existing library, installing libs:hardblocks.library..."
copy libs/hardblocks.library libs:hardblocks.library
else
echo "The version here is 1.2."
failat 20
echo "Your currently installed library version is:"
version hardblocks.library 1 2
if WARN
ask "Do you wish to update libs:hardblocks.library? [y/n]"
if WARN
echo "Updating libs:hardblocks.library..."
protect libs:hardblocks.library rwed
copy libs/hardblocks.library libs:hardblocks.library
else
echo "libs:hardblocks.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