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:
@@ -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..."
|
||||
|
||||
Reference in New Issue
Block a user