chore: move flathub remote config to /usr (#3052)
/usr is generally preferred over /etc
This commit is contained in:
parent
42b90550b9
commit
253e910312
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue