home *** CD-ROM | disk | FTP | other *** search
/ Amiga ISO Collection / AmigaUtilCD2.iso / TextEditors&Viewers / Texteditors / NextStep16.lha / NextStep / Install < prev    next >
Encoding:
Text File  |  1995-06-06  |  2.4 KB  |  95 lines

  1. ; $VER: 1.0
  2.  
  3. (delopts "oknodelete" "force" "askuser")
  4. (complete 0)
  5.  
  6. (if (exists "GOLDED:" (NOREQ))
  7.  
  8.     (
  9.         (set vernum (getversion "golded:golded"))
  10.  
  11.         (set ver (/ vernum 65536))
  12.         (set rev (- vernum (* ver 65536)))
  13.  
  14.         (set version (+ (* 10 ver) rev))
  15.  
  16.         (if (< version 21)
  17.  
  18.             (
  19.                 (message "\nSorry, GoldED 2.1.0 or better required")
  20.                 (exit (quiet))
  21.             )
  22.         )
  23.  
  24.         (message (cat "\n"
  25.  
  26.             "NextStep v1.6                                \n"
  27.             "                                             \n"
  28.             "©'95 Dietmar Eilert                          \n"
  29.             "     DIETMAR@TOMATE.TNG.OCHE.DE              \n"
  30.             "                                             \n"
  31.             "GoldED ©1995 D.Eilert (Release 2 required)   \n"
  32.             "ToolManager ©'90-95 Stefan Becker            \n"
  33.             "                                             \n"
  34.             "This utility is NOT 'freely distributable'.  \n"
  35.             "Please have a look at the licence file       \n"
  36.             "before using this software.                  \n"
  37.         ))
  38.  
  39.  
  40.         (if (not (exists "libs:toolmanager.library")) (
  41.  
  42.             (message (cat "\n"
  43.  
  44.                 "This client requires ToolManger library v2.0+\n"
  45.                 "ToolManger is ©'92-95 Stefan Becker.         \n"
  46.                 "                                             \n"
  47.                 "Please install this library first.           \n"
  48.             ))
  49.  
  50.             (exit (quiet))
  51.         ))
  52.  
  53.         (complete 10)
  54.  
  55.         (if (not (exists "GoldED:API/NextStep"))
  56.  
  57.             (makedir "GoldED:API/NextStep")
  58.         )
  59.  
  60.         (copyfiles
  61.  
  62.             (source  (pathonly @icon))
  63.             (dest    "GoldED:API/NextStep")
  64.             (pattern "(dock|dock.prefs|icons|readme|arexx|presets|source|licence)")
  65.             (infos)
  66.         )
  67.  
  68.         (if (exists "golded:presets")
  69.  
  70.             (copyfiles
  71.  
  72.                 (source "GoldED:API/NextStep/presets")
  73.                 (dest   "golded:presets")
  74.                 (all)
  75.             )
  76.         )
  77.  
  78.         (complete 100)
  79.  
  80.         (message "\nInstallation complete. Have fun :-)")
  81.  
  82.         (run (cat "gx FORCE MACRO=\"" (tackon (pathonly @icon) "auto.ged\"")))
  83.     )
  84.  
  85.     (message (cat "\n"
  86.  
  87.         "Please install GoldED before attempting to\n"
  88.         "install this client.                      \n"
  89.     ))
  90. )
  91.  
  92. (exit (quiet))
  93.  
  94. (welcome)
  95.