1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mautrix_signal_ynh.git synced 2024-09-03 19:46:07 +02:00

correct pip3 and python3

This commit is contained in:
Gredin 67 2021-01-23 21:21:10 +01:00
parent 98ed426506
commit 933bd4c644
2 changed files with 4 additions and 3 deletions

View file

@ -5,7 +5,7 @@
#=================================================
# dependencies used by the app
pkg_dependencies="postgresql"
pkg_dependencies="postgresql python3"
#=================================================
# PERSONAL HELPERS

View file

@ -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"