From 1016a9e2aaa6b600a6c99f4a7576da91a991c708 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Mon, 15 Jun 2020 01:16:03 +0200 Subject: [PATCH] Fix upgrade: missing helper --- scripts/upgrade | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 310339d..2079697 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -7,6 +7,7 @@ #================================================= source _common.sh +source ynh_add_config source /usr/share/yunohost/helpers #================================================= @@ -105,7 +106,7 @@ then # Create a temporary directory tmpdir="$(mktemp -d)" - # Copy the admin saved settings from tmp directory to final path + # Copy the admin saved settings from tmp directory to final path cp -ar "$final_path/config.production.json" "$tmpdir/config.production.json" # Backup the content folder to the temp dir