home *** CD-ROM | disk | FTP | other *** search
- .K ""
- echo "This script will install the req library and ilbm library, after first"
- echo "checking to see if you already have them installed. If so, it will"
- echo "check the version number of the installed one, and give you the option"
- echo "of installing the one found here."
- echo ""
-
- ask "Do you wish to continue with the installation? [y/n]"
- if WARN
- echo ""
- echo "Checking for an existing req.library..."
- if not EXISTS libs:req.library
- echo "No existing library, installing libs:req.library..."
- copy req.library libs:req.library
- else
- echo "The version here is 2.5."
- failat 20
- echo "Your currently installed library version is:"
- version req.library 2 5
- if WARN
- ask "Do you wish to update libs:req.library? [y/n]"
- if WARN
- echo "Updating libs:req.library..."
- protect libs:req.library rwed
- copy req.library libs:req.library
- else
- echo "libs:req.library unchanged."
- endif
- else
- echo "The current installed version is up to date."
- endif
- endif
- echo ""
- echo "Checking for an existing ilbm.library..."
- if not EXISTS libs:ilbm.library
- echo "No existing library, installing libs:ilbm.library..."
- copy ilbm.library libs:ilbm.library
- else
- echo "The version here is 0.5."
- failat 20
- echo "Your currently installed library version is:"
- version ilbm.library 0 5
- if WARN
- ask "Do you wish to update libs:ilbm.library? [y/n]"
- if WARN
- echo "Updating libs:ilbm.library..."
- protect libs:ilbm.library rwed
- copy ilbm.library libs:ilbm.library
- else
- echo "libs:ilbm.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
-