From ef78f9b5d5b7bf9a02e0f07e831afd25131ced27 Mon Sep 17 00:00:00 2001 From: inffy Date: Wed, 21 Dec 2022 20:19:57 +0200 Subject: [PATCH] Remove the system installed (fedora flatpacks) This should fix it atleast in clean installs --- ublue-firstboot | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/ublue-firstboot b/ublue-firstboot index 830984d..32dc7da 100755 --- a/ublue-firstboot +++ b/ublue-firstboot @@ -38,6 +38,14 @@ if [ "$?" != 0 ] ; then fi echo "20" +echo "Removing all preinstalled Flatpaks" +/usr/bin/flatpak remove --system --noninteractive --all ||: +if [ "$?" != 0 ] ; then + zenity --error \ + --text="Removing all preinstalled flatpaks failed" + exit 1 +fi + echo "# Removing Fedora Flatpak Repository" /usr/bin/flatpak remote-delete fedora --force ||: if [ "$?" != 0 ] ; then