diff --git a/scripts/upgrade b/scripts/upgrade index 781d3b5..07ecce9 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -73,7 +73,7 @@ then ynh_secure_remove --file="$final_path" # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" + ynh_setup_source --dest_dir="$final_path" --keep="$final_path/.env" # Copy the admin saved settings from tmp directory to final path cp -a "$tmpdir/.env" "$final_path/.env"