mirror of
https://git.proxmox.com/git/fwupd
synced 2025-08-06 16:43:15 +00:00
Allow reinstalling on devices with only-version-upgrade set
All three devices with that flag support reinstalling the current version for testing.
This commit is contained in:
parent
38dfdfd42e
commit
9549cd3a18
@ -643,7 +643,7 @@ fu_release_check_requirements(FuRelease *self,
|
||||
fu_release_get_version(self),
|
||||
fu_device_get_version_format(self->device));
|
||||
if (fu_device_has_flag(self->device, FWUPD_DEVICE_FLAG_ONLY_VERSION_UPGRADE) &&
|
||||
vercmp >= 0) {
|
||||
vercmp > 0) {
|
||||
g_set_error(error,
|
||||
FWUPD_ERROR,
|
||||
FWUPD_ERROR_NOT_SUPPORTED,
|
||||
|
Loading…
Reference in New Issue
Block a user