Closed Julow closed 1 year ago
As mentioned in https://github.com/tarides/ocaml-platform-installer/issues/126#issuecomment-1280849784, I am not keen on introducing this feature! I'll look at the code if you really think that it does more good than bad.
I'll merge this as I believe the semantic is better: the last request wins, we install what the user expects.
Fix https://github.com/tarides/ocaml-platform-installer/issues/126
Installing a tool was skipped if it was already installed on the current switch, regardless of its required version. This only affected ocamlformat.
I moved some code for readability, which was being re-indented anyway.