mirror of
https://github.com/YunoHost-Apps/radicale_ynh.git
synced 2024-09-03 20:16:14 +02:00
Update upgrade
This commit is contained in:
parent
9e583990a0
commit
f7ca69712f
1 changed files with 6 additions and 0 deletions
|
@ -3,6 +3,12 @@
|
||||||
# Check depends installation
|
# Check depends installation
|
||||||
sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev libsasl2-dev libssl-dev uwsgi uwsgi-plugin-python
|
sudo apt-get install -y python-pip python-virtualenv python-dev libldap2-dev libsasl2-dev libssl-dev uwsgi uwsgi-plugin-python
|
||||||
|
|
||||||
|
if [ -d /usr/local/radicale ];
|
||||||
|
then
|
||||||
|
mdkir -p /opt/yunohost
|
||||||
|
mv /usr/local/radicale /opt/yunohost/
|
||||||
|
fi
|
||||||
|
|
||||||
# Upgrade pip packages
|
# Upgrade pip packages
|
||||||
sudo bash -c "source /opt/yunohost/radicale/bin/activate && pip install radicale python-ldap --upgrade"
|
sudo bash -c "source /opt/yunohost/radicale/bin/activate && pip install radicale python-ldap --upgrade"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue