1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-04-22 03:39:08 +00:00

[stable-11] Fix flatpak module for Fedora 44 (#11847)

CI: Replace Fedora 43 with 44 for devel (#11836)

* Replace Fedora 43 with 44 for devel in CI.

* Adjust tests.

* Adjust flatpak module to Fedora 44.

(cherry picked from commit ef656cb9b6)
This commit is contained in:
Felix Fontein 2026-04-17 07:03:28 +02:00 committed by GitHub
parent 1fa6d37c0b
commit 76372a8975
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 3 additions and 1 deletions

View file

@ -0,0 +1,2 @@
bugfixes:
- "flatpak - support new output message when an update resulted in no action that appears on Fedora 44 (https://github.com/ansible-collections/community.general/pull/11836)."

View file

@ -226,7 +226,7 @@ def update_flat(module, binary, names, method, no_dependencies):
command += installed_flat_names
stdout = _flatpak_command(module, module.check_mode, command)
result["changed"] = (
True if module.check_mode else stdout.find("Nothing to do.") == -1
True if module.check_mode else (stdout.find("Nothing to do.") == -1 and stdout.find("Nothing to update.") == -1)
)