mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-30 03:32:36 +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"
|
mkdir -p "$BAZZITE_CONFIG_DIR"
|
||||||
|
|
||||||
# SCRIPT VERSION
|
# SCRIPT VERSION
|
||||||
USER_SETUP_VER=25
|
USER_SETUP_VER=26
|
||||||
USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version"
|
USER_SETUP_VER_FILE="$BAZZITE_CONFIG_DIR/version"
|
||||||
USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version"
|
USER_SETUP_FEDORA_VER_FILE="$BAZZITE_CONFIG_DIR/fedora_version"
|
||||||
USER_SETUP_IMAGE_VER_FILE=$BAZZITE_CONFIG_DIR/image_name""
|
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
|
flatpak remote-delete --user fedora --force
|
||||||
fi
|
fi
|
||||||
flatpak remote-add --if-not-exists --user flathub /usr/etc/flatpak/remotes.d/flathub.flatpakrepo
|
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
|
# Handle privileged tasks
|
||||||
pkexec /usr/libexec/bazzite-privileged-user-setup
|
pkexec /usr/libexec/bazzite-privileged-user-setup
|
||||||
|
Loading…
x
Reference in New Issue
Block a user