Skip to content

Commit c556f13

Browse files
authored
Merge pull request #410 from fklajn-opera/fix_version_inconsistency
Fix Python version regex in install.pp
2 parents 53839b0 + 5e68f54 commit c556f13

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

manifests/install.pp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,7 @@
215215
}
216216
}
217217

218-
if "${::python::version}" =~ /^3/ { #lint:ignore:only_variable_string
218+
if "${::python::version}" =~ /^python3/ { #lint:ignore:only_variable_string
219219
$pip_category = undef
220220
$pip_package = 'python3-pip'
221221
} elsif ($::osfamily == 'RedHat') and (versioncmp($::operatingsystemmajrelease, '7') >= 0) {

0 commit comments

Comments
 (0)