home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d5xx
/
d573
/
mathplot.lha
/
MathPlot
/
InstallLibrary
< prev
next >
Wrap
Text File
|
1991-12-22
|
2KB
|
56 lines
.K ""
echo "This script will install the following libraries, after first"
echo "checking to see if you already have one installed. If so, it"
echo "will check the version numbers of the installed one, and the one"
echo "in this directory, and give you the option of installing the one"
echo "found here."
echo ""
echo " libs/ilbm.library => libs:"
echo " libs/mtool.library => libs:"
echo ""
ask "Do you wish to continue with the installation of ilbm.library? [y/n]"
if WARN
if not EXISTS libs:ilbm.library
echo "No existing library, installing libs:ilbm.library..."
copy libs/ilbm.library libs:ilbm.library
else
echo "Examine the version numbers of each library."
echo ""
version libs:ilbm.library
version libs/ilbm.library
echo ""
ask "Do you wish to overwrite libs:ilbm.library? [y/n]"
if WARN
echo "Updating libs:ilbm.library..."
copy libs/ilbm.library libs:ilbm.library
else
echo "libs:ilbm.library unchanged..."
endif
endif
endif
ask "Do you wish to continue with the installation of mtool.library? [y/n]"
if WARN
if not EXISTS libs:mtool.library
echo "No existing library, installing libs:mtool.library..."
copy libs/mtool.library libs:mtool.library
else
echo "Examine the version numbers of each library."
echo ""
version libs:mtool.library
version libs/mtool.library
echo ""
ask "Do you wish to overwrite libs:mtool.library? [y/n]"
if WARN
echo "Updating libs:mtool.library..."
copy libs/mtool.library libs:mtool.library
else
echo "libs:mtool.library unchanged..."
endif
endif
endif
echo "All Done. Click close gadget to get rid of window."
endcli