mirror of
https://github.com/YunoHost-Apps/superset_ynh.git
synced 2024-09-03 20:26:31 +02:00
Use generic python3 calls
This commit is contained in:
parent
f00d4168fe
commit
ae6a949f1b
2 changed files with 2 additions and 2 deletions
|
@ -29,7 +29,7 @@ chown $app:$app "$install_dir/superset_config.py"
|
|||
ynh_script_progression --message="Installing app..." --weight=5
|
||||
|
||||
# Prepare environment
|
||||
python3.9 -m venv $install_dir/venv
|
||||
python3 -m venv $install_dir/venv
|
||||
localpath=$install_dir/venv/bin:$PATH
|
||||
environment="FLASK_APP=superset SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key"
|
||||
export $environment
|
||||
|
|
|
@ -42,7 +42,7 @@ chown $app:$app "$install_dir/superset_config.py"
|
|||
ynh_script_progression --message="Upgrading app..." --weight=5
|
||||
|
||||
# Prepare environment
|
||||
python3.9 -m venv --upgrade $install_dir/venv
|
||||
python3 -m venv --upgrade $install_dir/venv
|
||||
localpath=$install_dir/venv/bin:$PATH
|
||||
environment="FLASK_APP=superset SUPERSET_CONFIG_PATH=$install_dir/superset_config.py SUPERSET_SECRET_KEY=$secret_key"
|
||||
export $environment
|
||||
|
|
Loading…
Add table
Reference in a new issue