home *** CD-ROM | disk | FTP | other *** search
- ;install script for PolyFit. If you possess the Installer utility, use it
- ;and do not use this script!
-
- version >NIL: exec.library 37
- if warn
- echo "I'm sorry, but you will need at least Release 2 to run PolyFit."
- quit
- endif
-
- echo "If you have the Commodore Installer utility, please select the"
- echo "Install_PolyFit icon to install PolyFit."
- echo ""
- echo "Enter the directory where you want PolyFit installed to."
- echo "(A new directory will be created in this directory): " noline
- setenv >NIL: PFDest ?
-
- if not exists $PFDest
- echo Invalid Path: $PFDest
- else
- ASK "Ok to install PolyFit to $PFDest?"
- if warn
- assign DEST: $PFDest
-
- echo Creating new directory.
- makedir DEST:PolyFit
- copy >NIL: /PolyFit.info DEST: clone
-
- echo Copying guide file...
- copy >NIL: PolyFit.guide PolyFit.guide.info DEST:PolyFit clone
-
- echo Copying executables...
- copy >NIL: PolyFit PolyFit.info DEST:PolyFit clone
-
- echo Copying example files...
- copy >NIL: #?.pf #?.pf.info DEST:PolyFit clone
-
- if exists Locale:catalogs/nederlands
- ask "Do you want to install the dutch catalog files?"
- if warn
- echo Copying dutch catalog file...
- copy >NIL: locale/catalogs/nederlands/#? all Locale:catalogs/nederlands
- endif
- endif
-
- if exists Locale:catalogs/deutsch
- ask "Do you want to install the german catalog files?"
- if warn
- echo Copying german catalog file...
- copy >NIL: locale/catalogs/deutsch/#? all Locale:catalogs/deutsch
- endif
- endif
-
- assign DEST: remove
- echo Installing complete. PolyFit can be found in $PFDest/PolyFit
- else
- echo Installing aborted.
- endif
- endif
-