Add script for installing Brave Nightly
This commit is contained in:
parent
1d8bfbee7c
commit
2140f0a0ea
2 changed files with 16 additions and 1 deletions
|
@ -10,6 +10,6 @@ apt install -y wget unzip jq apt-transport-https curl
|
||||||
curl -fsSLo /usr/share/keyrings/brave-browser-beta-archive-keyring.gpg https://brave-browser-apt-beta.s3.brave.com/brave-browser-beta-archive-keyring.gpg
|
curl -fsSLo /usr/share/keyrings/brave-browser-beta-archive-keyring.gpg https://brave-browser-apt-beta.s3.brave.com/brave-browser-beta-archive-keyring.gpg
|
||||||
echo "deb [signed-by=/usr/share/keyrings/brave-browser-beta-archive-keyring.gpg arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-beta.list
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-beta-archive-keyring.gpg arch=amd64] https://brave-browser-apt-beta.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-beta.list
|
||||||
|
|
||||||
# Install Brave
|
# Install Brave Beta
|
||||||
apt update
|
apt update
|
||||||
apt install -y brave-browser-beta
|
apt install -y brave-browser-beta
|
||||||
|
|
15
scripts/PopOS/software/brave-nightly.sh
Normal file
15
scripts/PopOS/software/brave-nightly.sh
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
#!/bin/bash
|
||||||
|
# Elevate script
|
||||||
|
if [ ! "$UID" -eq 0 ]
|
||||||
|
then
|
||||||
|
exec sudo bash "$0"
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Prepare
|
||||||
|
apt install -y wget unzip jq apt-transport-https curl
|
||||||
|
curl -fsSLo /usr/share/keyrings/brave-browser-nightly-archive-keyring.gpg https://brave-browser-apt-nightly.s3.brave.com/brave-browser-nightly-archive-keyring.gpg
|
||||||
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-nightly-archive-keyring.gpg arch=amd64] https://brave-browser-apt-nightly.s3.brave.com/ stable main" | sudo tee /etc/apt/sources.list.d/brave-browser-nightly.list
|
||||||
|
|
||||||
|
# Install Brave Nightly
|
||||||
|
apt update
|
||||||
|
apt install -y brave-browser-nightly
|
Loading…
Reference in a new issue