mirror of
https://github.com/webmin/webmin.git
synced 2026-07-06 18:30:36 +01:00
Get python3 cmd for newer distros
This commit is contained in:
@@ -18,7 +18,12 @@ $letsencrypt_chain_urls = [
|
||||
|
||||
sub get_letsencrypt_python_cmd
|
||||
{
|
||||
return &has_command("python2.7") || &has_command("python27") ||
|
||||
return &has_command("python3") || &has_command("python30") ||
|
||||
&has_command("python3.6") || &has_command("python36") ||
|
||||
&has_command("python3.7") || &has_command("python37") ||
|
||||
&has_command("python3.8") || &has_command("python38") ||
|
||||
&has_command("python3.9") || &has_command("python39") ||
|
||||
&has_command("python2.7") || &has_command("python27") ||
|
||||
&has_command("python2.6") || &has_command("python26") ||
|
||||
&has_command("python");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user