disable source .env because doesn’t seems to be usefull this way

This commit is contained in:
Thomas 2023-12-04 13:21:49 +01:00 committed by GitHub
parent dc65d983df
commit 334ae89c27
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -34,7 +34,7 @@ ynh_add_config --template="../conf/.env.production" --destination="$install_dir/
chmod 600 $install_dir/.env chmod 600 $install_dir/.env
chown $app:www-data "$install_dir/.env" chown $app:www-data "$install_dir/.env"
set -a; source "$install_dir/.env"; set +a # set -a; source "$install_dir/.env"; set +a
mkdir "$install_dir/venv" mkdir "$install_dir/venv"
python3 -m venv "$install_dir/venv" python3 -m venv "$install_dir/venv"

View file

@ -62,7 +62,7 @@ ynh_add_config --template="../conf/.env.production" --destination="$install_dir/
chmod 600 $install_dir/.env chmod 600 $install_dir/.env
chown $app: "$install_dir/.env" chown $app: "$install_dir/.env"
set -a; source "$install_dir/.env"; set +a #set -a; source "$install_dir/.env"; set +a
#================================================= #=================================================