From 065b0aa6d56cb82dfee374483d48aeffc8b0e950 Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Mon, 13 Jan 2025 12:45:45 +0100 Subject: [PATCH] fix: set default name to AppNameOverwrite to allow pwa install --- entrypoint.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/entrypoint.sh b/entrypoint.sh index f84cb83..87660c6 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -11,6 +11,12 @@ do do # Get environment variable value=$(eval echo "\$$key") + + # Set default value for APPNAMEOVERWRITE if empty + if [ "$key" = "APPNAMEOVERWRITE" ] && [ -z "$value" ]; then + value="FF Admin" + fi + echo "replace $key by $value" # replace __[variable_name]__ value with environment variable