auto uninstall unused dep while flatpak upd
This commit is contained in:
parent
3db9f46d7a
commit
1bfb9581e5
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue