You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
docs: simplify Linux sudo instructions in README (#1096)
Describe an easier way to pass the `SENTRY_IMAGE` environment variable to `install.sh` when using `sudo` that doesn't require modifying the `sudo` configuration
Copy file name to clipboardExpand all lines: README.md
+2-15Lines changed: 2 additions & 15 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,23 +38,10 @@ Note that this may not work for all commit SHAs as this repository evolves with
38
38
39
39
### Using Linux
40
40
41
-
If you are using Linux and you need to use `sudo` when running `./install.sh`, modifying the version of Sentry is slightly different. First, run the following:
41
+
If you are using Linux and you need to use `sudo` when running `./install.sh`, make sure to place the environment variable *after*`sudo`:
42
42
43
43
```shell
44
-
sudo visudo
45
-
```
46
-
47
-
Then add the following line:
48
-
49
-
```shell
50
-
Defaults env_keep += "SENTRY_IMAGE"
51
-
```
52
-
53
-
Save the file then in your terminal run the following
0 commit comments