Remove the system installed (fedora flatpacks)

This should fix it atleast in clean installs
This commit is contained in:
inffy
2022-12-21 20:19:57 +02:00
committed by GitHub
parent 19adaf373c
commit ef78f9b5d5

View File

@@ -38,6 +38,14 @@ if [ "$?" != 0 ] ; then
fi fi
echo "20" 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" echo "# Removing Fedora Flatpak Repository"
/usr/bin/flatpak remote-delete fedora --force ||: /usr/bin/flatpak remote-delete fedora --force ||:
if [ "$?" != 0 ] ; then if [ "$?" != 0 ] ; then