Do not run the flatpak repair on machines with batteries.
This commit is contained in:
parent
9736ee4bce
commit
6499a802b2
@ -168,9 +168,9 @@
|
||||
- name: General | Facts | Package | Update Commands | flatpak | exists
|
||||
set_fact:
|
||||
update_flatpak: |
|
||||
echo "*** Flatpak ***" &&
|
||||
echo "*** Flatpak ***"
|
||||
[[ {{ battery }} != 'True' ]] && sudo flatpak repair
|
||||
sudo flatpak uninstall --unused {{ update_accept_var }} &&
|
||||
sudo flatpak repair &&
|
||||
sudo flatpak update {{ update_accept_var }} &&
|
||||
when: flatpak_exec is defined and flatpak_exec.failed is defined and not flatpak_exec.failed
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user