Modificar 'hooks/normal/0550-install-browsers.hook.chroot'

This commit is contained in:
Manuel Fernando da silva rosa 2022-11-19 23:11:29 +00:00
parent 3b8617b398
commit b0668148ff
1 changed files with 5 additions and 5 deletions

View File

@ -3,21 +3,21 @@
### web browsers instalation hook ### web browsers instalation hook
# Install depends # Install depends
apt install apt-transport-https curl apt install -y apt-transport-https curl
#Add the repository keyrings #Add the repository keyrings
#Brave browser #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 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 #Vivaldy browser
wget -qO- https://repo.vivaldi.com/archive/linux_signing_key.pub | gpg --dearmor | sudo dd of=/usr/share/keyrings/vivaldi-browser.gpg #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 #Add repositorys to sources.list
#Brave browser #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 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 #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 #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 #Update the repos
apt update apt update
#install the package #install the package
apt -y install brave-browser vivaldi-stable #apt -y install brave-browser vivaldi-stable
apt -y install brave-browser