From 1d8bfbee7cfed0ebeba2f2e631065acda05648fc Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Sat, 12 Nov 2022 04:08:11 +0100 Subject: [PATCH] Add a script for installing Brave Beta --- scripts/PopOS/software/brave-beta.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 scripts/PopOS/software/brave-beta.sh diff --git a/scripts/PopOS/software/brave-beta.sh b/scripts/PopOS/software/brave-beta.sh new file mode 100644 index 00000000..497aeebf --- /dev/null +++ b/scripts/PopOS/software/brave-beta.sh @@ -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