18 lines
626 B
Bash
18 lines
626 B
Bash
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 echo $(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 update
|
|
|
|
sudo apt install librewolf -y |