1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00
This commit is contained in:
Josué Tille 2023-02-16 00:09:54 +01:00
parent 10d66805ef
commit b6fdf2e998
No known key found for this signature in database
GPG key ID: 716A6C99B04194EF

View file

@ -56,7 +56,7 @@ install_sources() {
chown $synapse_user:root -R $final_path chown $synapse_user:root -R $final_path
chown $synapse_user:root $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt chown $synapse_user:root $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt
pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2 pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2
sudo -u $synapse_user env PATH=$PATH pip3 install --upgrade -r ../conf/requirement_$(lsb_release --codename --short).txt sudo -u $synapse_user env PATH=$PATH pip3 install --upgrade -r $YNH_APP_BASEDIR/conf/requirement_$(lsb_release --codename --short).txt
# This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does # This function was defined when we called "source $final_path/bin/activate". With this function we undo what "$final_path/bin/activate" does
set +$u_arg; set +$u_arg;