mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 09:32:55 +00:00
fix: Ensure the user flathub repository has a higher priority
This commit is contained in:
parent
b6c001df64
commit
d6f69ce5fa
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user