Skip to content

Commit

Permalink
Merge pull request #410 from fklajn-opera/fix_version_inconsistency
Browse files Browse the repository at this point in the history
Fix Python version regex in install.pp
  • Loading branch information
wyardley authored Jun 16, 2018
2 parents 53839b0 + 5e68f54 commit c556f13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/install.pp
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@
}
}

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

0 comments on commit c556f13

Please sign in to comment.