From 0687249b67cb8a90143a844c62adb1a00b3f55d9 Mon Sep 17 00:00:00 2001 From: Arnaud Chong Date: Mon, 24 Oct 2022 12:19:33 +0200 Subject: [PATCH] Update python validation regex * Packages could be python39 or python3.9 Change-Id: Ic666e450010d9abadb94b5b9e454b574c16c6c06 --- resources/install.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/install.rb b/resources/install.rb index 06b7468..9fe6d2a 100644 --- a/resources/install.rb +++ b/resources/install.rb @@ -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'