home *** CD-ROM | disk | FTP | other *** search
- .K ""
- echo "This script will install the following libraries, 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 ""
- echo " reqtools.library"
- echo " powerpacker.library"
- echo " lh.library"
- echo ""
-
- ask "Do you wish to continue with the installation? [y/n]"
- if WARN
- echo "Checking reqtools.library..."
- Version >NIL: LIBS:reqtools.library
- If NOT ERROR
- Echo "Version of reqtools.library already installed:"
- Version LIBS:reqtools.library
- Echo ""
- EndIf
-
- Version >NIL: exec.library 37
- If NOT WARN
- Echo "Your Amiga has AmigaDOS Release 2 (V37) or higher in ROM."
- Ask "Install special Kickstart 2.0 version of reqtools.library (38.1002) ?"
- If WARN
- Copy libs/OS2.0/reqtools.library LIBS:reqtools.library
- Echo "*nreqtools.library (2.0 version) copied to your Libs: directory."
- Avail >NIL: FLUSH
- Skip ReqToolsOK
- EndIf
- EndIf
-
- Ask "Install Kickstart 1.2/1.3 version of reqtools.library (38.385) ?"
- If NOT WARN
- Skip ReqToolsOK
- EndIf
-
- Copy libs/os1.3/reqtools.library LIBS:reqtools.library
- Echo "*nreqtools.library copied to your Libs: directory."
- Lab ReqToolsOK
- echo ""
- echo "Checking powerpacker.library..."
- if not EXISTS libs:powerpacker.library
- echo "No existing library, installing libs:powerpacker.library..."
- copy libs/powerpacker.library libs:powerpacker.library
- else
- echo "The version here is 35.347."
- failat 20
- echo "Your currently installed library version is:"
- version powerpacker.library 35 347
- if WARN
- ask "Do you wish to update libs:powerpacker.library? [y/n]"
- if WARN
- echo "Updating libs:powerpacker.library..."
- protect libs:powerpacker.library rwed
- copy libs/powerpacker.library libs:powerpacker.library
- else
- echo "libs:powerpacker.library unchanged."
- endif
- else
- echo "The current installed version is up to date."
- endif
- endif
- echo ""
- echo "Checking lh.library..."
- if not EXISTS libs:lh.library
- echo "No existing library, installing libs:lh.library..."
- copy libs/lh.library libs:lh.library
- else
- echo "The version here is 1.8."
- failat 20
- echo "Your currently installed library version is:"
- version lh.library 1 8
- if WARN
- ask "Do you wish to update libs:lh.library? [y/n]"
- if WARN
- echo "Updating libs:lh.library..."
- protect libs:lh.library rwed
- copy libs/lh.library libs:lh.library
- else
- echo "libs:lh.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
-