home *** CD-ROM | disk | FTP | other *** search
/ Fresh Fish 5 / FreshFish_July-August1994.bin / bbs / dev / diceconfig-2.0.lha / DiceConfig / Install_DiceConfig20 < prev    next >
Text File  |  1993-11-27  |  2KB  |  84 lines

  1. ; Script d'installation de DiceConfig2.0
  2. (set name
  3.         (askdir
  4.                 (prompt "Where i can creat a directory for DiceConfig20")
  5.                 (help @askdir-help)
  6.                 (default "Dcc:")
  7.         )
  8. )
  9.  
  10. (set name (tackon name "DiceConfig20"))
  11.  
  12. (debug "Le repertoire est " name)
  13.  
  14. (if (exists name)
  15.     (if ( = 0 (askbool
  16.                 (prompt "\""name"\" already exist !!")
  17.                 (help "DiceConfig 2.0 may be already installed ?\n"
  18.                       " 'Continue' overwrite older DiceConfig."
  19.                 )
  20.                 (choices "Continue" "abort" )
  21.             )
  22.         )
  23.         ( abort "user abort !!")
  24.     )
  25.     (makedir name (infos) )
  26. )
  27.  
  28. (set @default-dest name)
  29.  
  30. ; Copie l'éxecutable & les docs
  31. (copyfiles
  32.         (prompt "Copy DiceConfig2.0 to \""@default-dest"\"")
  33.         (help "Copy DiceConfig2.0's executable and documentations to your own directory\n"
  34.         "'DiceConfig2.0FR.doc' is the french doc file" )
  35.         (source "")
  36.         (choices "DiceConfig2.0" "DiceConfig2.0.doc" "DiceConfig2.0FR.doc" "ATTENTION")
  37.         (dest @default-dest)
  38.         (infos)
  39.         (confirm)
  40. )
  41.  
  42. (set name (tackon name "catalogs"))
  43. (debug "Le repertoire des catalogs est " name)
  44.  
  45. ; pour la localisation
  46. ; copylib ne marche pas en récursif
  47. (copyfiles
  48.         (prompt "Copy catalog(s) in \""name"\"")
  49.         (help @copyfiles-help)
  50.         (source "catalogs")
  51.         (all)
  52.         (infos)
  53.         (dest name)
  54.         (confirm)
  55. )
  56.  
  57. ; La config
  58. (copyfiles
  59.         (prompt "Copy config file in Dcc:Config.\n"
  60.             "Hit 'Help' for IMPORTANT informations !")
  61.         (help "Only 'DiceConfig.cfg' is usefull. 'LF_DiceConfig.cfg' is "
  62.         "only an example.\n"
  63.         "NOTEZ BIEN: DiceConfig NEED 'DiceConfig.cfg' to be in dcc:config"
  64.         "( but you may change destination directory if Dcc: is not assigned )"
  65.         )
  66.         (source "Config")
  67.         (all)
  68.         (infos)
  69.         (dest "Dcc:Config")
  70.         (confirm)
  71. )
  72.  
  73. (copyfiles
  74.         (prompt "Copying scripts files")
  75.         (help "Start_Csh is an AmigaDos scripts that start a slave Csh shell\n"
  76.         "Multi_Dcc_F.sh is a Csh 5.31+ script for using -new w/ Dcc V 2.07.54R (see docs)\n"
  77.         "OldMulti_Dcc_F.sh : same script but for Csh lower than 5.31")
  78.         (source "scripts")
  79.         (all)
  80.         (dest "s:")
  81.         (infos)
  82.         (confirm)
  83. )
  84.