Skip to content

Commit

Permalink
flatpak-update-worker.py: Use installer.init() if init_sync() fails,
Browse files Browse the repository at this point in the history
instead of our own refresh method.

This will make sure the appstream signal is fired once the cache
updates (and matches mintinstall's behavior as well).
  • Loading branch information
mtwebster committed Dec 5, 2024
1 parent 1697e8b commit 42fdabb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion usr/lib/linuxmint/mintUpdate/flatpak-update-worker.py
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ def fetch_updates(self):

if not self.installer.init_sync():
warn("cache not valid, refreshing")
self.refresh(False)
self.installer.init()
else:
debug("cache valid")

Expand Down

0 comments on commit 42fdabb

Please sign in to comment.