new commit

This commit is contained in:
Manuel 2022-11-17 13:46:26 -01:00
parent 2a60aeab81
commit 01ab3be4cc
3 changed files with 23 additions and 17 deletions

View File

@ -1,17 +0,0 @@
#!/bin/bash
### brave browser instalation hook
# Install depends
apt install apt-transport-https curl
#Add the keyring
curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
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
apt update
#install the package
apt -y install brave-browser

View File

@ -0,0 +1,23 @@
#!/bin/bash
### web browsers instalation hook
# Install depends
apt install 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
#Vivaldy browser
wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | gpg --dearmor | sudo dd of=/usr/share/keyrings/vivaldi-browser.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
#Vivaldy browser
echo "deb [signed-by=/usr/share/keyrings/vivaldi-browser.gpg arch=$(dpkg --print-architecture)] https://repo.vivaldi.com/archive/deb/ stable main" | sudo dd of=/etc/apt/sources.list.d/vivaldi-archive.list
#Update the repos
apt update
#install the package
apt -y install brave-browser vivaldi-stable