Skip to content

Commit

Permalink
Build the initial package a bit earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
samoht committed Jun 21, 2012
1 parent f7081b1 commit 909a4cf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/client.ml
Expand Up @@ -302,10 +302,12 @@ let init_ocaml alias ocaml_version =
(* Write the default alias *)
File.Aliases.write aliases_f ((alias, ocaml_version) :: aliases);

(* Update the configuration files *)
update ();
(* Install the initial package *)
install_initial_package ();

(* Update the configuration files *)
update ();

(* Install the compiler if necessary *)
let comp = File.Comp.safe_read (Path.G.compiler t.global ocaml_version) in
if OCaml_V.current () <> Some ocaml_version && not (File.Comp.preinstalled comp) then begin
Expand Down

0 comments on commit 909a4cf

Please sign in to comment.