Skip to content

Commit

Permalink
fix: Ensure the user flathub repository has a higher priority
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Jan 30, 2024
1 parent b6c001d commit d6f69ce
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions system_files/desktop/shared/usr/bin/bazzite-user-setup
Original file line number Diff line number Diff line change
Expand Up @@ -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""
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit d6f69ce

Please sign in to comment.