mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Fix install bullseye
This commit is contained in:
parent
d9381d3891
commit
8d41482c2b
1 changed files with 9 additions and 3 deletions
|
@ -39,9 +39,15 @@ install_dependance() {
|
||||||
# We need to do that because we can have some issue about the permission access to the pip cache without this
|
# We need to do that because we can have some issue about the permission access to the pip cache without this
|
||||||
set_permission
|
set_permission
|
||||||
# Note that we install imageio to force the dependance, without this imageio 2.8 is installed and it need python3.5
|
# Note that we install imageio to force the dependance, without this imageio 2.8 is installed and it need python3.5
|
||||||
|
if [ $(lsb_release --codename --short) == bullseye ]; then
|
||||||
|
sudo -u $seafile_user pip3 install --user --upgrade 'Pillow<10.0.0' pylibmc captcha jinja2 sqlalchemy psd-tools \
|
||||||
|
django-pylibmc django-simple-captcha python3-ldap \
|
||||||
|
pylibmc django-pylibmc # Memcached support
|
||||||
|
else
|
||||||
sudo -u $seafile_user pip3 install --user --upgrade --break-system-packages 'Pillow<10.0.0' pylibmc captcha jinja2 sqlalchemy psd-tools \
|
sudo -u $seafile_user pip3 install --user --upgrade --break-system-packages 'Pillow<10.0.0' pylibmc captcha jinja2 sqlalchemy psd-tools \
|
||||||
django-pylibmc django-simple-captcha python3-ldap \
|
django-pylibmc django-simple-captcha python3-ldap \
|
||||||
pylibmc django-pylibmc # Memcached support
|
pylibmc django-pylibmc # Memcached support
|
||||||
|
fi
|
||||||
ynh_del_swap
|
ynh_del_swap
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue