Skip to content

Commit 42fdabb

Browse files
committed
flatpak-update-worker.py: Use installer.init() if init_sync() fails,
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).
1 parent 1697e8b commit 42fdabb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

usr/lib/linuxmint/mintUpdate/flatpak-update-worker.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ def fetch_updates(self):
106106

107107
if not self.installer.init_sync():
108108
warn("cache not valid, refreshing")
109-
self.refresh(False)
109+
self.installer.init()
110110
else:
111111
debug("cache valid")
112112

0 commit comments

Comments
 (0)