diff --git a/manifest.json b/manifest.json index bcd0f4b..29a3d27 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Leed is a minimalistic RSS feed aggregator which allows quick and non-intrusive reading of feeds.", "fr": "Leed est un agrégateur RSS minimaliste qui permet la consultation de flux RSS de manière rapide et non intrusive." }, - "version": "1.8.3~ynh8", + "version": "1.8.3~ynh9", "url": "http://leed.idleman.fr/", "license": "AGPL-3.0", "maintainer": { diff --git a/pull_request_template.md b/pull_request_template.md index ac8b9ee..bce5a0b 100644 --- a/pull_request_template.md +++ b/pull_request_template.md @@ -13,9 +13,9 @@ ## Validation --- -- [ ] **Code review** -- [ ] **Approval (LGTM)** -*Code review and approval have to be from a member of @YunoHost/apps group* +- [ ] **Code review** : +- [ ] **Approval (LGTM)** : +*Code review and approval have to be from a member of @YunoHost-Apps/apps-group* - **CI succeeded** : [![Build Status](https://ci-apps-hq.yunohost.org/jenkins/job/leed_ynh%20PR-NUM-/badge/icon)](https://ci-apps-hq.yunohost.org/jenkins/job/leed_ynh%20PR-NUM-/) *Please replace '-NUM-' in this link by the PR number.* diff --git a/scripts/upgrade b/scripts/upgrade index 8e6a0e8..32a63b1 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -94,6 +94,18 @@ if [ -z "$admin_mail_html" ]; then ynh_app_setting_set --app=$app --key=admin_mail_html --value=$admin_mail_html fi +# If fpm_footprint doesn't exist, create it +if [ -z "$fpm_footprint" ]; then + fpm_footprint=low + ynh_app_setting_set --app=$app --key=fpm_footprint --value=$fpm_footprint +fi + +# If fpm_usage doesn't exist, create it +if [ -z "$fpm_usage" ]; then + fpm_usage=low + ynh_app_setting_set --app=$app --key=fpm_usage --value=$fpm_usage +fi + #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #=================================================