1
0
Fork 0
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:
tituspijean 2024-05-02 23:06:58 +02:00
parent f00d4168fe
commit ae6a949f1b
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
2 changed files with 2 additions and 2 deletions

View file

@ -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

View file

@ -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