opam: Fix 'opam init' error when relisting an opam instance
- Jun 29, 2023
-
-
Antoine Lambert authored
When relisting an opam instance and the opam root directory is already populated, the '--set-default' parameter must be provided otherwise the following error is reported: No switch is currently set. Please use 'opam switch' to set or install a switch Related to swh/infra/sysadm-environment#4971.
-
Antoine Lambert authored
Ensure opam errors are displayed when attempting to list all packages in order to ease debugging. Related to swh/infra/sysadm-environment#4971.
-