auto uninstall unused dep while flatpak upd

This commit is contained in:
Francois B. (Makoto) 2020-05-22 22:56:27 +02:00
parent 3db9f46d7a
commit 1bfb9581e5

View file

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