My-distro-configs-ubuntu-op.../hooks/normal/0550-install-browsers.hook....

31 lines
1.0 KiB
Plaintext
Raw Permalink Normal View History

2024-01-12 11:51:34 -01:00
#!/bin/bash
### web browsers instalation hook
2024-01-29 13:40:18 -01:00
################################################################################
# Title: 0550-install-browsers.hook.chroot
# Description: web browser install script
# Author: manuel rosa <manuelsilvarosa@gmail.com>
# Date: Outubro 29, 2023
# License: GPL-3.0-or-later
################################################################################
2024-01-12 11:51:34 -01:00
# 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