diff --git a/core_functions.sh b/core_functions.sh index fc489ee..1246a66 100644 --- a/core_functions.sh +++ b/core_functions.sh @@ -182,6 +182,12 @@ function updateSystem () { sudo flatpak update -y &>> $logFile ret_code=$? retCode $ret_code + + printf "[FLATPAK] uninstall --unused " + printf "\n[FLATPAK] uninstall --unused\n" &>> $logFile + sudo flatpak uninstall --unused -y &>> $logFile + ret_code=$? + retCode $ret_code fi repoAdded=0