Use official xlibre repository on x86_64 systems. This hopefully means less packages for me to maintain for 2 systems.

This commit is contained in:
Storm Dragon
2026-07-15 16:05:27 -04:00
parent 1f7aea6c7c
commit 99a944f903
4 changed files with 82 additions and 2 deletions
@@ -52,10 +52,29 @@ install_rhvoice_english_fixes() {
return "$installStatus"
}
install_xlibre_key() {
local keyUrl="https://xlibre-arch.github.io/xlibre-archlinux.asc"
local keyId="B97F7C613F359424"
local keyFile
keyFile="$(mktemp)"
echo "Adding XLibre repository key..."
if ! curl -fsSL "$keyUrl" -o "$keyFile"; then
rm -f "$keyFile"
return 1
fi
pacman-key --add "$keyFile"
pacman-key --lsign-key "$keyId"
rm -f "$keyFile"
}
# Initialize pacman keyring
echo "Initializing pacman keyring..."
pacman-key --init
pacman-key --populate archlinux
install_xlibre_key
# Add Stormux repository key
echo "Adding Stormux repository key..."