From 3ba5bd836be7e60a10c79f3af2a8e43898f2ad2f Mon Sep 17 00:00:00 2001 From: Girish Ramakrishnan Date: Thu, 25 Aug 2016 10:32:56 -0700 Subject: [PATCH] use cloudron.conf to determine if this is an update see also d60b386bcaa55ad343411484ed4e19ad8950cb91 --- setup/start.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup/start.sh b/setup/start.sh index 426d852f5..5ef24297f 100755 --- a/setup/start.sh +++ b/setup/start.sh @@ -21,7 +21,7 @@ source "${script_dir}/argparser.sh" "$@" # this injects the arg_* variables used admin_fqdn=$([[ "${arg_is_custom_domain}" == "true" ]] && echo "${ADMIN_LOCATION}.${arg_fqdn}" || echo "${ADMIN_LOCATION}-${arg_fqdn}") admin_origin="https://${admin_fqdn}" -readonly is_update=$([[ -d "${DATA_DIR}/box" ]] && echo "true" || echo "false") +readonly is_update=$([[ -f "${CONFIG_DIR}/cloudron.conf" ]] && echo "true" || echo "false") set_progress() { local percent="$1"