home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -in_the_mag- / under_the_bonnet / scsi / scsibench / scsibench-install < prev    next >
Text File  |  1998-05-02  |  3KB  |  184 lines

  1.  
  2. (if (= @language "deutsch")
  3. (
  4.    (set #wrongversion
  5.       (cat "Achtung! Es ist eine alte Version des Programmes 'Installer' "
  6.            "auf Ihrem Amiga!\n\nDie Installation benÖtigt mindestens Installer 42.9.\n\n"
  7.            "Bitte ÜberprÜfen Sie Ihre Konfiguration!"
  8.       )
  9.    )
  10.  
  11.    (set #welcome
  12.       (cat "Willkommen zur Installation von SCSIBench V1.0!\n\n"
  13.            "Copyright Frank Toepper & Ralph Wermke von\n"
  14.            "Digital Innovations."
  15.       )
  16.    )
  17.  
  18.    (set #destdir 
  19.       (cat "Wähle das Verzeichnis in das SCSIBench kopiert werden soll. "
  20.            "Es wird kein Verzeichnis angelegt."
  21.       )
  22.    )
  23.  
  24.    (set #copystr (cat "Kopiere SCSIBench..."))
  25.  
  26.    (set #askdoc
  27.       (cat "Soll die Dokumentation installiert werden?")
  28.    )
  29.  
  30.    (set #yes "Ja")
  31.  
  32.    (set #no "Nein")
  33.  
  34.    (set #docdir 
  35.       (cat "Wähle das Verzeichnis für die Dokumentation.")
  36.    )
  37.  
  38.    (set #copydoc (cat "Kopiere Dokumentation..."))
  39.  
  40.    (set #cat (cat "Welche Katalogdatei(en) soll(en) installiert werden?"))
  41.  
  42. )
  43.  
  44. ;-------- English --------
  45. (
  46.    (set #wrongversion
  47.       (cat "You have an old version of the program 'Installer' "
  48.            "on your Amiga!\n\nThe installation procedure needs at least Installer 42.9.\n\n"
  49.            "Please check your configuration!"
  50.       )
  51.    )
  52.  
  53.    (set #welcome
  54.       (cat "Welcome to the Installation of SCSIBench V1.0!\n\n"
  55.            "Copyright by Frank Toepper & Ralph Wermke of\n"
  56.            "Digital Innovations."
  57.       )
  58.    )
  59.  
  60.    (set #destdir 
  61.       (cat "Select a directory to copy SCSIBench to.\n"
  62.            "No directory will be created."
  63.       )
  64.    )
  65.  
  66.    (set #copystr (cat "Copying SCSIBench..."))
  67.  
  68.    (set #askdoc
  69.       (cat "Do you want to install the documentation?")
  70.    )
  71.  
  72.    (set #yes "Yes")
  73.  
  74.    (set #no "No")
  75.  
  76.    (set #docdir 
  77.       (cat "Select a directory for the documentation.")
  78.    )
  79.  
  80.    (set #copydoc 
  81.       (cat "Copying documentation...")
  82.    )
  83.  
  84.    (set #cat (cat "Which catalog file(s) do you want to install?"))
  85.  
  86. )
  87. ) ; if
  88.  
  89. ;------------------------------------------------------------------------
  90. ; We can't handle this script without Installer 42.9 or better!
  91. (if (< @installer-version 2752521)
  92.   (
  93.     ; Big problem!
  94.     (message #wrongversion)
  95.     (exit (quiet))
  96.   )
  97. )
  98.  
  99.  
  100. (welcome #welcome)
  101.  
  102. (set destdir
  103.  (askdir
  104.   (prompt #destdir)
  105.   (help @askdir-help)
  106.   (default "SYS:")
  107.  )
  108. )
  109.  
  110. (if (patmatch "68000|68010" (database "cpu"))
  111. (
  112.     (set #srcname "scsibench")
  113. )
  114. ;else
  115. (
  116.     (if (= "NOFPU" (database "fpu"))
  117.     (
  118.         (set #srcname "scsibench.020")
  119.     )
  120.     ; else
  121.     (
  122.         (set #srcname "scsibench.020_881")
  123.     )
  124.     ) ;if
  125. )
  126. ) ;if
  127.  
  128. (copyfiles
  129.    (prompt #copystr)
  130.    (help @copyfiles-help)
  131.    (source #srcname)
  132.    (dest destdir)
  133.    (files)
  134.    (newname "SCSIBench")
  135.    (optional force)
  136. )
  137.  
  138. (copyfiles
  139.    (prompt #copystr)
  140.    (help @copyfiles-help)
  141.    (source "scsibench.info")
  142.    (dest destdir)
  143.    (noposition)
  144.    (optional force)
  145. )
  146.  
  147. (set docbool
  148.    (askbool
  149.       (prompt #askdoc)
  150.       (choices #yes #no)
  151.       (help "No Help!")
  152.       (default 0)
  153.    )
  154. )
  155.  
  156. (if (= docbool 1)
  157. (
  158.    (set docdir
  159.       (askdir
  160.          (prompt #docdir)
  161.          (help @askdir-help)
  162.          (default "help:english")
  163.       )
  164.    )
  165.    (copyfiles
  166.       (prompt #copydoc)
  167.       (help @copyfiles-help)
  168.       (source "scsibench.guide")
  169.       (infos)
  170.       (noposition)
  171.       (dest docdir)
  172.    )
  173. )
  174. ) ; if
  175.  
  176. (copyfiles
  177.    (prompt #cat)
  178.    (help @copyfiles-help)
  179.    (source "catalogs")
  180.    (dest "Locale:")
  181.    (pattern "#?")
  182.    (confirm)
  183. )
  184.