fix(installer): proper python binary for non centos

This commit is contained in:
Lucas Bickel 2020-12-27 14:29:59 +01:00
parent 194682d89c
commit 23c97763b5
1 changed files with 2 additions and 2 deletions

View File

@ -698,12 +698,12 @@ verbose "Using distribution id \"$dist\", release code \"$code\""
systemInitDetect systemInitDetect
if $is_centos_dist; then if $is_centos_dist; then
python_bin="python3" python_bin="python3.8"
apache_bin="httpd" apache_bin="httpd"
apache_service="httpd" apache_service="httpd"
web_user="${web_user:-apache}" web_user="${web_user:-apache}"
else else
python_bin="python" python_bin="python3"
apache_bin="apache2ctl" apache_bin="apache2ctl"
apache_service="apache2" apache_service="apache2"
web_user="${web_user:-www-data}" web_user="${web_user:-www-data}"