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 python env

This commit is contained in:
Gredin 67 2021-01-26 21:09:23 +01:00
parent e1c47560ea
commit fe93818e04

View file

@ -207,9 +207,10 @@ ynh_replace_string --match_string=__LOG_LEVEL__ --replace_string="error" --targe
# Configure Mautrix-Facebook # Configure Mautrix-Facebook
python3 -m venv $final_path python3 -m venv $final_path
pip3 install --upgrade setuptools source venv/bin/activate
pip3 install --upgrade $final_path/src/mautrix-facebook.tar.gz venv/bin/pip3 install --upgrade setuptools
python3 -m mautrix-facebook -g -c $mautrix_config_path -r $app_service_registration_path/$app.yaml venv/bin/pip3 install --upgrade $final_path/src/mautrix-facebook.tar.gz
venv/bin/python3 -m mautrix-facebook -g -c $mautrix_config_path -r $app_service_registration_path/$app.yaml
/opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh \ /opt/yunohost/matrix-$synapse_instance/update_synapse_for_appservice.sh \
|| ynh_die "Synapse can't restart with the appservice configuration" || ynh_die "Synapse can't restart with the appservice configuration"