Skip to content

Commit

Permalink
Update python validation regex
Browse files Browse the repository at this point in the history
* Packages could be python39 or python3.9

Change-Id: Ic666e450010d9abadb94b5b9e454b574c16c6c06
  • Loading branch information
achamo committed Oct 24, 2022
1 parent 6c23a5f commit 0687249
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/install.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

action :install do
converge_if_changed :version do
valid_name_regex = /^python3\d?$/
valid_name_regex = /^python3\.?\d?$/
if new_resource.source == 'portable_pypy3'
package 'bzip2'

Expand Down

0 comments on commit 0687249

Please sign in to comment.