From 33d9120aa63ee7a15e8940b69c016d300349cdd9 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Mon, 4 Dec 2023 13:48:26 +0100 Subject: [PATCH] =?UTF-8?q?Get=20rid=20of=20the=20source=20.env=20because?= =?UTF-8?q?=20wasn=E2=80=99t=20usefull?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/install | 2 -- scripts/upgrade | 3 --- 2 files changed, 5 deletions(-) diff --git a/scripts/install b/scripts/install index 6de0e0a..381ed38 100755 --- a/scripts/install +++ b/scripts/install @@ -34,8 +34,6 @@ ynh_add_config --template="../conf/.env.production" --destination="$install_dir/ chmod 600 $install_dir/.env chown $app:www-data "$install_dir/.env" -# set -a; source "$install_dir/.env"; set +a - mkdir "$install_dir/venv" python3 -m venv "$install_dir/venv" $install_dir/venv/bin/pip3 install -r "$install_dir/requirements.txt" diff --git a/scripts/upgrade b/scripts/upgrade index 5156a51..660b18c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -62,9 +62,6 @@ ynh_add_config --template="../conf/.env.production" --destination="$install_dir/ chmod 600 $install_dir/.env chown $app: "$install_dir/.env" -#set -a; source "$install_dir/.env"; set +a - - #================================================= # CONFIGURE THEN INSTALL SCRIPT AND DEPENDENCIES #=================================================