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