From 8c23e5206a880c13019615087f9d0e4ed4887546 Mon Sep 17 00:00:00 2001 From: Eric Claeys <83164203+EricClaeys@users.noreply.github.com> Date: Thu, 18 Jul 2024 20:54:21 -0600 Subject: [PATCH] Update installUpgradeFunctions.sh Also, put in stub for prepare_local_website() --- scripts/installUpgradeFunctions.sh | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/scripts/installUpgradeFunctions.sh b/scripts/installUpgradeFunctions.sh index deede6d5f..a4a8f8f06 100644 --- a/scripts/installUpgradeFunctions.sh +++ b/scripts/installUpgradeFunctions.sh @@ -434,9 +434,20 @@ function update_json_file() # [-d] field, new value, file, [type] return "${RET}" } + +#### +# Prepare a local Website: +# Update the config file by replacing placeholders. +# Copy data.json. +function prepare_local_website() +{ + : # TODO: +} + + #### # Update a Website configuration file from old to current version. -function update_website_config_file() +function update_old_website_config_file() { local FILE PRIOR_VERSION CURRENT_VERSION LOCAL_OR_REMOTE