mirror of
https://github.com/YunoHost-Apps/synapse_ynh.git
synced 2024-09-03 20:26:38 +02:00
Fix install on bullseye
This commit is contained in:
parent
45a06ac69a
commit
d7e9813f9b
1 changed files with 6 additions and 1 deletions
|
@ -46,7 +46,12 @@ install_sources() {
|
|||
set +$u_arg;
|
||||
source $final_path/bin/activate
|
||||
set -$u_arg;
|
||||
pip3 install --upgrade setuptools wheel pip
|
||||
if [ $(lsb_release --codename --short) == "bullseye" ]; then
|
||||
pip3 install --upgrade setuptools==60.8.2 wheel pip
|
||||
else
|
||||
pip3 install --upgrade setuptools wheel pip
|
||||
fi
|
||||
|
||||
chown $synapse_user:root -R $final_path
|
||||
sudo -u $synapse_user env PATH=$PATH pip3 install --upgrade 'cryptography>=3.4.7'
|
||||
pip3 install --upgrade cffi ndg-httpsclient psycopg2 lxml jinja2
|
||||
|
|
Loading…
Add table
Reference in a new issue