Update 99-run.sh

This commit is contained in:
Alexandre
2024-01-31 13:37:54 +01:00
committed by GitHub
parent ed223e4c7b
commit 523b71c523

View File

@@ -3,8 +3,7 @@
set -e set -e
# Use new config file # Use new config file
CONFIG_HOME="$(bashio::config "CONFIG_LOCATION")" CONFIG_HOME="/config"
CONFIG_HOME="$(dirname "$CONFIG_HOME")"
mkdir -p "$CONFIG_HOME" mkdir -p "$CONFIG_HOME"
if [ ! -f "$CONFIG_HOME"/postgresql.conf ]; then if [ ! -f "$CONFIG_HOME"/postgresql.conf ]; then
# Copy default config.env # Copy default config.env