Closed mmurphy closed 6 years ago
Yes agree this sounds like a good idea. Another option would be to prompt the user during the installation and ask where they want to put the oc tool (with a default location of /usr/local/bin) then use that location for each of our following actions.
ping @aidenkeating
@maleck13 Yep I think your suggestion makes sense. Will assign this to myself.
I don't mind if the installer asks the user, however after downloading we should still check to ensure that the correct version is being run
The installer downloads the correct version of oc, however it may run a different version of oc if it appears in the PATH before the downloaded and installed version, so it should check that the version it's running is the one that is required e.g.