From fd38d2706e422aa7a36e2852c27b41eb5154b1a4 Mon Sep 17 00:00:00 2001 From: RJ Trujillo Date: Tue, 8 Aug 2023 22:21:05 -0600 Subject: [PATCH] feat(user-setup): Add user Flathub repo --- system_files/desktop/shared/usr/bin/bazzite-user-setup | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/bin/bazzite-user-setup b/system_files/desktop/shared/usr/bin/bazzite-user-setup index 5279eeb2..6cd9d80f 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-user-setup +++ b/system_files/desktop/shared/usr/bin/bazzite-user-setup @@ -42,6 +42,12 @@ else fi fi +# Setup Flathub +if grep -qz 'fedora' <<< $(flatpak remotes); then + flatpak remote-delete fedora --force +fi +flatpak remote-add --if-not-exists --user flathub https://flathub.org/repo/flathub.flatpakrepo + # Prevent future executions echo "Writing state file" -touch $HOME/.bazzite-configured \ No newline at end of file +touch $HOME/.bazzite-configured