mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 09:40:20 +00:00
The major version needs to be cast to an int for comparison
This commit is contained in:
parent
5c7269aee6
commit
9a4e026d59
1 changed files with 1 additions and 1 deletions
|
@ -661,7 +661,7 @@ class SaltPkgInstall:
|
|||
minor_ver = self.minor
|
||||
pkg_version = self.pkg_version
|
||||
full_version = f"{self.major}.{self.minor}-{pkg_version}"
|
||||
relenv = major_ver >= 3006
|
||||
relenv = int(major_ver) >= 3006
|
||||
|
||||
min_ver = f"{major_ver}"
|
||||
distro_name = self.distro_name
|
||||
|
|
Loading…
Add table
Reference in a new issue