From ade44869b48f44d87f7194d34560444ad612bb15 Mon Sep 17 00:00:00 2001 From: yalh76 Date: Sun, 2 Oct 2022 22:16:12 +0200 Subject: [PATCH] Update upgrade --- scripts/upgrade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index 00ff785..846d5e0 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -112,7 +112,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$final_path" --keep="config/secrets.yml config/database.yml" - cp -f "$tmpdir/secrets.yml" "$final_path/config/database.yml" + cp -f "$tmpdir/secrets.yml" "$final_path/config/secrets.yml" cp -f "$tmpdir/database.yml" "$final_path/config/database.yml" ynh_secure_remove --file="$tmpdir" fi