This should fix #320
This should fix #298
This enables: * 'opam --root $dir config -env' to output the right $OPAMROOT variable; * which means subsequents calls to 'opam' will use the right root path. This help installing opam on multi-user computers (where root is set to /usr/lib/opam for instance). This should fix #302
…the reverse order
…ut there is a ~/.opam/s directory. This is the sign that something bad happened while installed 's', so we ~/.opam/s to come back in a stable state.
…lated to an error actually).
…f this contains an unknown switch (it should normally not happen ...) then switch back to an existing compiler switch.
… sync with their 'name'/'version' field.
…nstalled using OPAM itself. This should fix #297