librewolf repo only valid for x86_64

This commit is contained in:
Morgan McMillian 2024-08-11 08:07:58 -07:00
parent ae1faa9a47
commit d97740acd7

View file

@ -2,7 +2,6 @@
cd /etc/yum.repos.d || exit 1 cd /etc/yum.repos.d || exit 1
sudo wget https://pkgs.tailscale.com/stable/fedora/tailscale.repo sudo wget https://pkgs.tailscale.com/stable/fedora/tailscale.repo
sudo wget https://rpm.librewolf.net/librewolf-repo.repo
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
rpm-ostree override remove firefox firefox-langpacks rpm-ostree override remove firefox firefox-langpacks
rpm-ostree install \ rpm-ostree install \
@ -11,7 +10,6 @@ rpm-ostree install \
syncthing \ syncthing \
ansible \ ansible \
falkon \ falkon \
librewolf \
python3-keyring \ python3-keyring \
wl-clipboard \ wl-clipboard \
kate \ kate \
@ -22,3 +20,11 @@ rpm-ostree install \
mutt \ mutt \
msmtp \ msmtp \
lynx lynx
ARCH=$(/usr/bin/arch)
if [[ ${ARCH} = "x86_64" ]]; then
sudo wget https://rpm.librewolf.net/librewolf-repo.repo
rpm-ostree install librewolf
else
sudo flatpak install -y io.gitlab.librewolf-community
fi