From ee63f1e237e74a236bef7c5d0bca493b37762110 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 9 Jun 2020 15:28:53 +0200 Subject: [PATCH 1/2] Update upgrade --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 812e649..baa15cf 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -140,12 +140,13 @@ ynh_add_fail2ban_config --logpath="$final_path/var/logs/prod.log" --failregex='a # CONFIGURE WALLABAG #================================================= +wb_conf=$final_path/app/config/parameters.yml + if [ "$upgrade_type" == "UPGRADE_APP" ] then ynh_script_progression --message="Reconfiguring wallabag..." --weight=11 # Copy and set Wallabag dist configuration - wb_conf=$final_path/app/config/parameters.yml cp $final_path/app/config/parameters.yml.dist $wb_conf ynh_replace_string --match_string="fosuser_registration: true" --replace_string="fosuser_registration: false" --target_file=$wb_conf From 9f9d4fe3be0d6aeb48675552cda7b3368fdf9d75 Mon Sep 17 00:00:00 2001 From: Kayou Date: Tue, 9 Jun 2020 18:47:02 +0200 Subject: [PATCH 2/2] Bump version number --- manifest.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifest.json b/manifest.json index d49b58e..6908b1c 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "A self hostable read-it-later app", "fr": "Une application de lecture-plus-tard auto-hébergeable" }, - "version": "2.3.8~ynh1", + "version": "2.3.8~ynh2", "url": "https://www.wallabag.org", "license": "MIT", "maintainer": {