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"