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
# Install depends
apt install apt-transport-https curl
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
#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
#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
#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
#apt -y install brave-browser vivaldi-stable
apt -y install brave-browser