From d6f69ce5fa783237dd13c330fb374dd838ed2eae Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Mon, 29 Jan 2024 23:18:07 -0800 Subject: [PATCH] fix: Ensure the user flathub repository has a higher priority --- system_files/desktop/shared/usr/bin/bazzite-user-setup | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/system_files/desktop/shared/usr/bin/bazzite-user-setup b/system_files/desktop/shared/usr/bin/bazzite-user-setup index 02ad2e01ec..2a18db78fe 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-user-setup +++ b/system_files/desktop/shared/usr/bin/bazzite-user-setup @@ -10,7 +10,7 @@ BAZZITE_CONFIG_DIR="${XDG_DATA_HOME:-$HOME/.local/share}/bazzite" mkdir -p "$BAZZITE_CONFIG_DIR" # SCRIPT VERSION -USER_SETUP_VER=25 +USER_SETUP_VER=26 USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version" USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version" USER_SETUP_IMAGE_VER_FILE=$BAZZITE_CONFIG_DIR/image_name"" @@ -40,7 +40,7 @@ if grep -qz 'fedora' <<< $(flatpak remotes); then flatpak remote-delete --user fedora --force fi flatpak remote-add --if-not-exists --user flathub /usr/etc/flatpak/remotes.d/flathub.flatpakrepo -flatpak remote-modify --user --enable flathub +flatpak remote-modify --user --enable --prio=2 flathub # Handle privileged tasks pkexec /usr/libexec/bazzite-privileged-user-setup