Correct typo

https://github.com/alexbelgium/hassio-addons/issues/971
This commit is contained in:
Alexandre
2023-09-07 10:54:37 +02:00
committed by GitHub
parent ad10e1c74f
commit 1e4bc5d60b

View File

@@ -5,7 +5,7 @@
CONFIG_HOME="$(bashio::config "CONFIG_LOCATION")"
CONFIG_HOME="$(dirname "$CONFIG_HOME")"
mkdir -p "$CONFIG_HOME"
if [ ! -f "$CONFIG_HOME"/postgresql.conf.sample ]; then
if [ ! -f "$CONFIG_HOME"/postgresql.conf ]; then
# Copy default config.env
if [ -f /usr/local/share/postgresql/postgresql.conf.sample ]; then
cp /usr/local/share/postgresql/postgresql.conf.sample "$CONFIG_HOME"/postgresql.conf