From 933bd4c6444107b12a32fbdf9b0f3617346a38b6 Mon Sep 17 00:00:00 2001 From: Gredin 67 Date: Sat, 23 Jan 2021 21:21:10 +0100 Subject: [PATCH] correct pip3 and python3 --- scripts/_common.sh | 2 +- scripts/install | 5 +++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index 91f698b..8cdfdaa 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -5,7 +5,7 @@ #================================================= # dependencies used by the app -pkg_dependencies="postgresql" +pkg_dependencies="postgresql python3" #================================================= # PERSONAL HELPERS diff --git a/scripts/install b/scripts/install index db966d4..70129b7 100755 --- a/scripts/install +++ b/scripts/install @@ -207,8 +207,9 @@ ynh_replace_string --match_string=__LOG_LEVEL__ --replace_string="error" --targe # Configure Mautrix-Facebook python3 -m venv $final_path -pip install --upgrade $final_path/src/mautrix-facebook.tar.gz -python -m $final_path/mautrix-facebook -g -c $mautrix_config_path -r $app_service_registration_path/$app.yaml +pip3 install --upgrade setuptools +pip3 install --upgrade $final_path/src/mautrix-facebook.tar.gz +python3 -m $final_path/mautrix-facebook -g -c $mautrix_config_path -r $app_service_registration_path/$app.yaml /opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh \ || ynh_die "Synapse can't restart with the appservice configuration"