Skip to content

Commit

Permalink
Fixed forgetting some package reinstallations
Browse files Browse the repository at this point in the history
Seems from the comment I actually spotted this a while ago but figured
there had to be a good reason for it...

Fixes #2258
  • Loading branch information
AltGr committed Sep 24, 2015
1 parent b0965c1 commit 9d50053
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/state/opamAction.ml
Expand Up @@ -286,7 +286,7 @@ let compilation_env t opam =

let update_metadata t ~installed ~installed_roots ~reinstall =
let installed_roots = OpamPackage.Set.inter installed_roots installed in
let reinstall = OpamPackage.Set.inter installed_roots reinstall in (* XXX why _roots ? *)
let reinstall = OpamPackage.Set.inter installed reinstall in
if not OpamStateConfig.(!r.dryrun) then (
OpamFile.Installed.write
(OpamPath.Switch.installed t.root t.switch)
Expand Down

0 comments on commit 9d50053

Please sign in to comment.