Merge pull request #10 from inffy/patch-1

Remove the system installed (fedora  flatpacks)
This commit is contained in:
Jorge O. Castro
2022-12-21 14:51:10 -05:00
committed by GitHub

View File

@@ -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