From 8f4eab48b44aa3cc929242de132f402308b754d9 Mon Sep 17 00:00:00 2001 From: Gredin67 Date: Wed, 23 Mar 2022 23:46:40 +0100 Subject: [PATCH] Update upgrade --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index efe9cac..5b39e60 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -117,8 +117,8 @@ ynh_system_user_create --username=$mautrix_bridge_user if [ "$upgrade_type" == "UPGRADE_APP" ]; then ynh_script_progression --message="Upgrading python packages..." --weight=1 - export HOME=$final_path # HACK see https://github.com/mautrix/telegram/issues/661 - $final_path/bin/pip3 install --upgrade setuptools wheel # HACK fixes "error: invalid command 'bdist_wheel'" + export HOME=$final_path + $final_path/bin/pip3 install --upgrade pip setuptools wheel $final_path/bin/pip3 install --upgrade $final_path/src/mautrix-telegram.tar.gz[postgres,speedups,qr_login] #,hq_thumbnails fi