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