mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-05 02:09:25 +00:00
trivial: Don't show the current release in the fwupdmgr get-updates output
This commit is contained in:
parent
adb7a4979b
commit
ae87438781
@ -1306,7 +1306,7 @@ fu_main_get_updates_item_update (FuMainPrivate *priv, FuDeviceItem *item)
|
||||
releases = as_app_get_releases (app);
|
||||
for (guint i = 0; i < releases->len; i++) {
|
||||
rel = g_ptr_array_index (releases, i);
|
||||
if (as_utils_vercmp (as_release_get_version (rel), version) < 0)
|
||||
if (as_utils_vercmp (as_release_get_version (rel), version) <= 0)
|
||||
continue;
|
||||
tmp = as_release_get_description (rel, NULL);
|
||||
if (tmp == NULL)
|
||||
|
Loading…
Reference in New Issue
Block a user