diff --git a/manifest.json b/manifest.json index eaca62e..9209029 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "CalDAV (calendar) and CardDAV (contact) synchronization server", "fr": "Serveur de synchronisation CalDAV et CardDAV" }, - "version": "1.1.6~ynh6", + "version": "1.1.7~ynh1", "url": "http://radicale.org", "upstream": { "license": "GPL-3.0,AGPL-3.0", diff --git a/scripts/upgrade b/scripts/upgrade index b7612d2..66d4b00 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -230,7 +230,7 @@ then ynh_secure_remove --file="/opt/yunohost/$app" virtualenv /opt/yunohost/$app version=$(ynh_app_setting_get $app version $version) - bash -c "source /opt/yunohost/radicale/bin/activate && pip install radicale==$version python-ldap" + /opt/yunohost/$app/bin/pip install radicale==$version python-ldap # regex.py file is patched to fix the awful commit e807c3d35bea9cfcfcacac83b1b17d748ea15a39 that stop the reading of "rights" file after the first match. mv "$final_path/regex.py" /opt/yunohost/$app/lib/python*/site-packages/radicale/rights/regex.py