We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad7921e commit 8013af9Copy full SHA for 8013af9
core/scripts/download-chrome.sh
@@ -95,7 +95,7 @@ if [ "$machine" != "MinGw" ]; then
95
fi
96
97
# https://chromium.googlesource.com/chromium/src/+/main/docs/linux/suid_sandbox_development.md
98
-if [ "$machine" == "Linux" ] && [ -n "$CI" ]; then
99
- sudo chown root:root "$chrome_out/chrome_sandbox"
100
- sudo chmod 4755 "$chrome_out/chrome_sandbox"
+if [ "$machine" == "Linux" ] && [[ "${CI:-}" ]]; then
+ chmod 4755 "$chrome_out/chrome_sandbox"
+ chown root:root "$chrome_out/chrome_sandbox"
101
0 commit comments