22 lines
671 B
Bash
Executable File
22 lines
671 B
Bash
Executable File
#!/bin/bash
|
|
|
|
### web browsers instalation hook
|
|
|
|
# Install depends
|
|
apt install -y apt-transport-https curl
|
|
|
|
#Add the repository keyrings
|
|
#Brave browser
|
|
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
|
|
|
|
#Add repositorys to sources.list
|
|
#Brave browser
|
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
|
|
|
|
#Update the repos and the system
|
|
apt update && apt -y upgrade
|
|
|
|
#install the package
|
|
apt install -y brave-browser
|
|
|