In the event that install.sh or doppler update fails due to a lack of write perms, we now print a more actionable error.
$ doppler update
Updating...
Error: update failed due to improper permissions
Please re-run with `sudo` or as an admin
Doppler Error: exit status 2
$ ./scripts/install.sh
Downloading Doppler CLI
Installing...
Unable to write to bin directory; please re-run with `sudo` or as an admin
In the event that
install.sh
ordoppler update
fails due to a lack of write perms, we now print a more actionable error.Closes ENG-3292.