mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-29 09:32:55 +00:00
fix: Correct possible issue when rebasing from another Fedora issue with flathub/flatpak repositories.
chore: Use flathub file in image by directly pointing to /usr/etc instead of /etc/.
This commit is contained in:
parent
e31e63bcb2
commit
448a3cafa8
@ -1,7 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
# SCRIPT VERSION
|
||||
VER=18
|
||||
VER=19
|
||||
VER_FILE="/etc/bazzite/flatpak_manager_version"
|
||||
VER_RAN=$(cat $VER_FILE)
|
||||
IMAGE_INFO="/usr/share/ublue-os/image-info.json"
|
||||
@ -30,6 +30,7 @@ if grep -qz 'fedora' <<< $(flatpak remotes); then
|
||||
fi
|
||||
|
||||
# Ensure Flathub is enabled
|
||||
flatpak remote-add --if-not-exists --system flathub /usr/etc/flatpak/remotes.d/flathub.flatpakrepo
|
||||
flatpak remote-modify --system --enable flathub
|
||||
|
||||
# Installed flatpaks
|
||||
|
@ -39,7 +39,7 @@ fi
|
||||
if grep -qz 'fedora' <<< $(flatpak remotes); then
|
||||
flatpak remote-delete --user fedora --force
|
||||
fi
|
||||
flatpak remote-add --if-not-exists --user flathub /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
|
||||
|
||||
# Handle privileged tasks
|
||||
|
Loading…
x
Reference in New Issue
Block a user