Skip to content

Commit 8013af9

Browse files
committed
ope?
1 parent ad7921e commit 8013af9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

core/scripts/download-chrome.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ if [ "$machine" != "MinGw" ]; then
9595
fi
9696

9797
# 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"
98+
if [ "$machine" == "Linux" ] && [[ "${CI:-}" ]]; then
99+
chmod 4755 "$chrome_out/chrome_sandbox"
100+
chown root:root "$chrome_out/chrome_sandbox"
101101
fi

0 commit comments

Comments
 (0)