mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-10 15:54:25 +00:00
fix(flatpak): Locally install Flathub repo and fix Fedora repo removal (#126)
* fix(user-setup): Locally install Flathub repo This uses the existing Flathub repo file in /etc/flatpak/remotes.d so that it can be added completely offline * chore(flatpak-system-install): Remove Fedora system flatpakrepo
This commit is contained in:
parent
717c1e6e7e
commit
04a6a588aa
@ -43,9 +43,9 @@ fi
|
||||
|
||||
# Setup Flathub
|
||||
if grep -qz 'fedora' <<< $(flatpak remotes); then
|
||||
flatpak remote-delete fedora --force
|
||||
flatpak remote-delete --user fedora --force
|
||||
fi
|
||||
flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||
flatpak remote-add --if-not-exists --user flathub /etc/flatpak/remotes.d/flathub.flatpakrepo
|
||||
|
||||
# Prevent future executions
|
||||
echo "Writing state file"
|
||||
|
@ -4,6 +4,7 @@ source /etc/default/bazzite
|
||||
if grep -qz 'fedora' <<< $(flatpak remotes); then
|
||||
/usr/lib/fedora-third-party/fedora-third-party-opt-out
|
||||
/usr/bin/fedora-third-party disable
|
||||
flatpak remote-delete fedora --force
|
||||
fi
|
||||
|
||||
if [[ -f '/etc/flatpak/install' ]]; then
|
||||
|
Loading…
Reference in New Issue
Block a user