From 3bd80bb5765ed050136dc02ecbab5e64391da46c Mon Sep 17 00:00:00 2001 From: rosbeef andino Date: Wed, 6 Sep 2023 23:32:05 +0000 Subject: [PATCH] Update upgrade --- scripts/upgrade | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index 25752c8..3e437da 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -154,13 +154,10 @@ fi mkdir -p /var/log/$app -pushd $final_path - python3 -m venv $final_path/venv - source $final_path/venv/bin/activate - export HOME=$final_path - ynh_exec_warn_less pip install --upgrade pip setuptools wheel - ynh_exec_warn_less pip install --upgrade $final_path/src/mautrix-signal.tar.gz[metrics,e2be,formattednumbers,qrlink,stickers] -popd +python3 -m venv $final_path +export HOME=$final_path +$final_path/bin/pip3 install --upgrade pip setuptools wheel +$final_path/bin/pip3 install --upgrade $final_path/src/mautrix-signal.tar.gz[metrics,e2be,formattednumbers,qrlink,stickers] #================================================= # REGISTER SYNAPSE APP-SERVICE