diff --git a/scripts/upgrade b/scripts/upgrade index 9e98d69..985956c 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -24,7 +24,7 @@ sudo chown radicale:radicale -R /opt/yunohost/radicale # Upgrade pip packages sudo rm -Rf /opt/yunohost/radicale sudo virtualenv /opt/yunohost/radicale -sudo /opt/yunohost/radicale/bin/pip install radicale==1.0 python-ldap +sudo bash -c 'source /opt/yunohost/radicale/bin/activate && pip install radicale python-ldap --upgrade' # Radicale configuration sudo cp ../conf/config /etc/radicale/