d5f55b5f9c
Coverage / build (push) Waiting to run
Docker / Build (push) Waiting to run
Docker / Publish (push) Blocked by required conditions
Node.js CI / build (16, macos-latest) (push) Waiting to run
Node.js CI / build (16, ubuntu-latest) (push) Waiting to run
Node.js CI / build (16, windows-latest) (push) Waiting to run
NPM / Build (22) (push) Waiting to run
NPM / Pack (push) Blocked by required conditions
NPM / Publish (push) Blocked by required conditions
13 lines
417 B
Bash
Executable File
13 lines
417 B
Bash
Executable File
#!/bin/sh
|
|
|
|
[ "$(command -v google-chrome)" = "" ] && {
|
|
[ "$(grep chrome /etc/apt/sources.list.d/*)" -gt 0 ] && {
|
|
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
|
|
sudo sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list'
|
|
}
|
|
sudo apt-get update
|
|
sudo apt-get install -y google-chrome-stable
|
|
}
|
|
|
|
google-chrome --version
|