chore: move flathub remote config to /usr (#3052)

/usr is generally preferred over /etc
This commit is contained in:
renner 2026-10-18 15:45:42 +00:00 committed by GitHub
parent 42b90550b9
commit 253e910312
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@ echo "::group:: ===$(basename "$0")==="
set -eoux pipefail
# Enable Flathub
curl --retry 3 -Lo /etc/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo
curl --retry 3 -Lo /usr/share/flatpak/remotes.d/flathub.flatpakrepo https://dl.flathub.org/repo/flathub.flatpakrepo
# Offline Aurora documentation
ghcurl "https://github.com/ublue-os/aurora-docs/releases/download/0.1/aurora.pdf" --retry 3 -o /tmp/aurora.pdf

View file

@ -43,7 +43,7 @@ test -f /usr/share/flatpak/preinstall.d/bazaar.preinstall
test -f /usr/lib/systemd/system/flatpak-add-fedora-repos.service && false
# Is flathub enabled by default?
test -f /etc/flatpak/remotes.d/flathub.flatpakrepo
test -f /usr/share/flatpak/remotes.d/flathub.flatpakrepo
# Make sure to not pull in the bazzite one
rpm -q plasma-setup --qf "%{RELEASE}" | grep -q aurora