home *** CD-ROM | disk | FTP | other *** search
- .K ""
- echo "This script will install the ILBM library, after first checking"
- echo "to see if you already have one installed."
- 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: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 5
- 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:
-