Add a script for installing Brave Beta
This commit is contained in:
parent
7689e2774b
commit
1d8bfbee7c
1 changed files with 15 additions and 0 deletions
15
scripts/PopOS/software/brave-beta.sh
Normal file
15
scripts/PopOS/software/brave-beta.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-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
|
||||||
|
|
||||||
|
# Install Brave
|
||||||
|
apt update
|
||||||
|
apt install -y brave-browser-beta
|
Loading…
Reference in a new issue