home *** CD-ROM | disk | FTP | other *** search
- ; check for 2.0
-
- version >nil: exec.library 37
- if warn
- echo "Plot-Handler needs Kickstart 2.0 or higher to run!"
- else
- echo "Installation script for Plot-Handler V1.0*n*n"
- ask "Do you want Plot-Handler to be mounted always (y/n) ?"
- if warn
- echo "*nCopying Plot-Handler to L: ... " NOLINE
- copy L/Plot-Handler L: COM
- echo "Done."
- if exists DEVS:DOSDrivers/
- echo "Copying PLT to DEVS:DOSDrivers ... " NOLINE
- copy FROM Devs/PLT Devs/PLT.info TO DEVS:DOSDrivers/ QUIET COM
- echo "Done."
- else
- echo "Adding PLT to DEVS:MountList ... " NOLINE
- if exists DEVS:MountList
- join DEVS:MountList Devs/PLT-MountList AS RAM:MountList
- copy RAM:MountList DEVS:MountList
- delete >NIL: RAM:MountList
- else
- copy Devs/PLT-MountList DEVS:MountList
- endif
- if exists S:User-Startup
- join S:User-Startup S/PLT-Startup AS RAM:User-Startup
- copy RAM:User-Startup S:User-Startup
- delete >NIL: RAM:User-Startup
- else
- copy S/PLT-Startup S:User-Startup
- endif
- echo "Done."
- endif
- echo "*nInstallation successful!"
- echo "PLT: will be available after next reset!"
- else
- echo "*nCopying Plot-Handler to L: ... " NOLINE
- copy L/Plot-Handler L: COM
- echo "Done."
- if exists SYS:Storage/DOSDrivers/
- echo "Copying PLT to SYS:Storage/DOSDrivers ... " NOLINE
- copy FROM Devs/PLT Devs/PLT.info TO SYS:Storage/DOSDrivers/ QUIET COM
- echo "Done."
- else
- echo "Adding PLT to DEVS:MountList ... " NOLINE
- if exists DEVS:MountList
- join DEVS:MountList Devs/PLT-MountList AS RAM:MountList
- copy RAM:MountList DEVS:MountList
- delete >NIL: RAM:MountList
- else
- copy Devs/PLT-MountList DEVS:MountList
- endif
- echo "Done."
- endif
- echo "*nInstallation successful!"
- endif
- endif
-