home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Frozen Fish 1: Amiga
/
FrozenFish-Apr94.iso
/
bbs
/
alib
/
d9xx
/
d910
/
powercache.lha
/
PowerCache
/
Installation
/
Install_PowerCache.IconX
next >
Wrap
Text File
|
1993-08-28
|
2KB
|
86 lines
; $VER: PowerCache_Install_IconX 37.58 (18.7.93)
;
; Installation script for PowerCache. Will install 68000 or 68020 executable,
; documentation and also locale files for users running v38.
;
; Distributed as a part of the PowerCache project.
; PowerCache is Copyright (C) 1993 by Michael Berg
; All righs reserved
;
FailAt 20
Echo "PowerCache installation script for use with IconX"
Echo "Copyright © 1993, Michael Berg"
Echo "All Rights Reserved"
Echo ""
Echo "Installing Libraries:"
Echo " reqtools.library"
Version > NIL: reqtools.library 37
If NOT WARN
Echo " You already have:
" NOLINE
Version reqtools.library
Echo "" NOLINE
Ask " Do you want to install version
38.1042
of reqtools.library?"
If WARN
Echo " Copying reqtools.library to your LIBS: ..."
Copy >NIL: /libs/reqtools.library LIBS:
Else
Echo " Skipped"
EndIf
EndIf
Avail >NIL: FLUSH
Echo ""
If EXISTS Locale:Catalogs
Echo "Do you wish to install the PowerCache catalog files?"
Ask "Kickstart 2.04 users should answer No, all others Yes: [y/n]: "
If WARN
Copy >NIL: Locale Locale: All
Echo "Catalogs installed"
EndIf
Else
Echo "Catalog files not installed -- no Locale directory found"
EndIf
If EXISTS SYS:Tools/Commodities
SetEnv TargetDir Sys:Tools/Commodities
Else
SetEnv TargetDir Sys:
Endif
Echo "Do you wish to install the 68020 version of PowerCache?"
Ask "A1200/A4000 owners should answer Yes: [y/n]: "
If WARN
SetEnv SourceFile PowerCache.020
Else
SetEnv SourceFile PowerCache
EndIf
Echo "Installing the PowerCache files in $TargetDir/PowerCache/"
MakeDir $TargetDir/PowerCache
MakeDir $TargetDir/PowerCache/Documentation
Copy >NIL: /$SourceFile $TargetDir/PowerCache
Copy >NIL: /$SourceFile.info $TargetDir/PowerCache
Copy >NIL: /Documentation/#?.guide#? $TargetDir/PowerCache/Documentation
Echo "Add PowerCache: ASSIGN statement to S:User-Startup?"
Ask "(Not strictly required to run PowerCache, but recommended) [y/n]: "
If WARN
Echo "Adding to S:User-Startup..."
Echo ";BEGIN PowerCache" >>S:User-Startup
Echo "Assign PowerCache: *"$TargetDir/PowerCache*" DEFER" >>S:User-Startup
Echo ";END PowerCache" >>S:User-Startup
Echo "*NNote: Make sure your S:Startup-sequence executes S:User-Startup!"
EndIf
Echo "*NDone. You may close the window now."