Skip to content

Commit

Permalink
Remove PK check from updates completely
Browse files Browse the repository at this point in the history
  • Loading branch information
danirabbit committed Feb 7, 2024
1 parent 1a99d16 commit bc7e9ef
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/Core/UpdateManager.vala
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,6 @@ public class AppCenterCore.UpdateManager : Object {
installed_package.update_state ();
}

#if PACKAGEKIT_BACKEND
Pk.Results pk_updates;
unowned PackageKitBackend client = PackageKitBackend.get_default ();
try {
pk_updates = yield client.get_updates (cancellable);
} catch (Error e) {
warning ("Unable to get updates from PackageKit backend: %s", e.message);
return 0;
}
#endif

uint runtime_count = 0;
string runtime_desc = "";

Expand Down

0 comments on commit bc7e9ef

Please sign in to comment.