diff --git a/3progs.sh b/3progs.sh index f778f07..d84d572 100644 --- a/3progs.sh +++ b/3progs.sh @@ -309,8 +309,12 @@ if [[ $user_choice = *"Brave - webböngésző"* ]]; then echo --------------------------------------------- echo Installing ${bold}${yellow}Brave - flatpak${normal} - flatpak install flathub com.brave.Browser --user -y - sudo cp -a /home/$USER/.progs/com.brave.Browser /home/$USER/.var/app/ + sudo apt install curl -y + sudo 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] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list + sudo apt update + sudo apt install brave-browser -y + sudo cp -a /home/$USER/.progs/BraveSoftware /home/$USER/.config/ echo ${bold}${yellow}Brave ${normal}installed. echo --------------------------------------------- @@ -322,21 +326,10 @@ if [[ $user_choice = *"Librewolf - Firefox ESR alapú webböngésző"* ]]; then echo --------------------------------------------- echo Installing ${bold}${yellow}Librewolf - DEB Pkg${normal} - sudo apt update && sudo apt install -y wget gnupg lsb-release apt-transport-https ca-certificates - - distro=$(if echo " una bookworm vanessa focal jammy bullseye vera uma " | grep -q " $(lsb_release -sc) "; then lsb_release -sc; else echo focal; fi) - - wget -O- https://deb.librewolf.net/keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/librewolf.gpg - sudo tee /etc/apt/sources.list.d/librewolf.sources << EOF > /dev/null -Types: deb -URIs: https://deb.librewolf.net -Suites: $distro -Components: main -Architectures: amd64 -Signed-By: /usr/share/keyrings/librewolf.gpg -EOF + sudo apt install extrepo -y + sudo extrepo enable librewolf sudo apt update - sudo nala install librewolf -y + sudo apt install librewolf -y sudo cp -a .librewolf /home/$USER/ echo ${bold}${yellow}LibreWolf ${normal}installed.