Install chrome
This commit is contained in:
parent
d296ed3be3
commit
ff96e653a8
2 changed files with 16 additions and 0 deletions
|
@ -36,6 +36,7 @@ source "$softwareRoot/brave.sh"
|
|||
source "$softwareRoot/brave-extensions.sh"
|
||||
source "$softwareRoot/brave-beta.sh"
|
||||
source "$softwareRoot/brave-nightly.sh"
|
||||
source "$softwareRoot/chrome.sh"
|
||||
|
||||
# Install further software
|
||||
source "$softwareRoot/logo-ls.sh"
|
||||
|
|
15
scripts/PopOS/software/chrome.sh
Executable file
15
scripts/PopOS/software/chrome.sh
Executable file
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
# Elevate script
|
||||
if [ ! "$UID" -eq 0 ]
|
||||
then
|
||||
sudo bash "$BASH_SOURCE"
|
||||
else
|
||||
wget https://dl-ssl.google.com/linux/linux_signing_key.pub -O /tmp/google.pub
|
||||
gpg --no-default-keyring --keyring /etc/apt/keyrings/google-chrome.gpg --import /tmp/google.pub
|
||||
|
||||
echo 'deb [arch=amd64 signed-by=/etc/apt/keyrings/google-chrome.gpg] http://dl.google.com/linux/chrome/deb/ stable main' \
|
||||
| sudo tee /etc/apt/sources.list.d/google-chrome.list
|
||||
|
||||
apt update
|
||||
apt install -y google-chrome-stable
|
||||
fi
|
Loading…
Reference in a new issue