gpg: be less strict on newer versions
This commit is contained in:
parent
b2cd52d0b7
commit
b38d811673
@ -7,8 +7,7 @@ class Gpg
|
|||||||
next unless gpg_short_version
|
next unless gpg_short_version
|
||||||
gpg_version = Version.create(gpg_short_version.to_s)
|
gpg_version = Version.create(gpg_short_version.to_s)
|
||||||
@version = gpg_version
|
@version = gpg_version
|
||||||
gpg_version == Version.create("2.1") ||
|
gpg_version >= Version.create("2.0")
|
||||||
gpg_version == Version.create("2.0")
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user