#!/bin/bash ### web browsers instalation hook ################################################################################ # Title: 0550-install-browsers.hook.chroot # Description: web browser install script # Author: manuel rosa # Date: Outubro 29, 2023 # License: GPL-3.0-or-later ################################################################################ # 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