Skip to content

Commit

Permalink
fix: Move fedora repo removal to system flatpak manager
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleGospo committed Oct 1, 2023
1 parent 49aca95 commit dcc6b0c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
5 changes: 5 additions & 0 deletions usr/bin/ublue-system-flatpak-manager
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@ fi

notify-send "Flatpak installer" "Currently installing system flatpaks" --app-name="Flatpak installer" -u NORMAL

# Remove fedora flatpak repo
if grep -qz 'fedora' <<< $(flatpak remotes); then
flatpak remote-delete --user fedora --force
fi

# Lists of flatpaks
FLATPAK_LIST=$(flatpak list --columns=application)
INSTALL_LIST=$(cat /etc/flatpak/system/install)
Expand Down
3 changes: 0 additions & 3 deletions usr/bin/ublue-user-flatpak-manager
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,6 @@ if [[ -f $VER_FILE && $VER = $VER_RAN ]]; then
fi

# Setup Flathub
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

# Lists of flatpaks
Expand Down

0 comments on commit dcc6b0c

Please sign in to comment.