home *** CD-ROM | disk | FTP | other *** search
/ Frozen Fish 1: Amiga / FrozenFish-Apr94.iso / bbs / alib / d9xx / d906 / powerdata.lha / PowerData / Installation / Install_PowerData.IconX next >
Text File  |  1993-08-28  |  2KB  |  80 lines

  1. ; $VER: Install_PowerData.IconX 38.200 (27.7.93)
  2. ;
  3. ; Install script for PowerData (standard shell script)
  4. ;
  5.  
  6. FailAt 20
  7.  
  8. Echo "PowerData installation script for use with IconX"
  9. Echo "Copyright © 1992, 1993 by Michael Berg"
  10. Echo "All Rights Reserved"
  11. Echo ""
  12.  
  13. Echo "Installing libraries:"
  14.  
  15. Echo "    reqtools.library"
  16. Version > NIL: reqtools.library 37
  17. If NOT WARN
  18.     Echo "        You already have: " NOLINE
  19.     Version reqtools.library
  20.     Echo "" NOLINE
  21.     Ask "        Do you want to install version 38.1042 of reqtools.library?"
  22.     If WARN
  23.         Echo "        Copying reqtools.library to your LIBS: ..."
  24.         Copy >NIL: /libs/reqtools.library LIBS:
  25.     Else
  26.         Echo "        Skipped"
  27.     EndIf
  28. EndIf
  29.  
  30. Echo "    powerpacker.library"
  31. Version > NIL: powerpacker.library 35
  32. If NOT WARN
  33.     Echo "        You already have:  " NOLINE
  34.     Version powerpacker.library
  35.     Echo "" NOLINE
  36.     Ask "        Do you want to install version 35.344 of powerpacker.library?"
  37.     If WARN
  38.         Echo "        Copying powerpacker.library to your LIBS: ..."
  39.         Copy >NIL: /libs/powerpacker.library LIBS:
  40.     Else
  41.         Echo "        Skipped"
  42.     EndIf
  43. EndIf
  44.  
  45. Avail >NIL: FLUSH
  46.  
  47. Echo ""
  48.  
  49. If EXISTS Locale:Catalogs
  50.     Ask "Do you wish to install the PowerData catalog files? [y/n]: "
  51.     If WARN
  52.         Copy >NIL: Locale Locale: All
  53.         Echo "Catalogs installed"
  54.     EndIf
  55. Else
  56.     Echo "Catalog files not installed -- no Locale directory found"
  57. EndIf
  58.  
  59. If EXISTS SYS:Tools/Commodities
  60.     SetEnv TargetDir Sys:Tools/Commodities
  61. Else
  62.     SetEnv TargetDir Sys:
  63. Endif
  64.  
  65. Echo "Do you wish to install the 68020 version of PowerData?"
  66. Ask "A1200/A4000 owners should answer Yes: [y/n]: "
  67.  
  68. If WARN
  69.     SetEnv SourceFile PowerData.020
  70. Else
  71.     SetEnv SourceFile PowerData
  72. EndIf
  73.  
  74. Echo "Installing the PowerData executable in $TargetDir..."
  75.  
  76. Copy >NIL: /$SourceFile $TargetDir
  77. Copy >NIL: /$SourceFile.info $TargetDir
  78.  
  79. Echo "*nDone. Now close the window."
  80.