mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-06-03 06:14:07 +02:00
Update 99-run.sh
This commit is contained in:
@@ -8,7 +8,7 @@ if [ ! -f "$CONFIG_HOME"/postgresql.conf.sample ]; then
|
|||||||
# Copy default config.env
|
# Copy default config.env
|
||||||
if [ -f /usr/local/share/postgresql/postgresql.conf.sample ]; then
|
if [ -f /usr/local/share/postgresql/postgresql.conf.sample ]; then
|
||||||
cp /usr/local/share/postgresql/postgresql.conf.sample "$CONFIG_HOME"/postgresql.conf
|
cp /usr/local/share/postgresql/postgresql.conf.sample "$CONFIG_HOME"/postgresql.conf
|
||||||
elif [ -f /usr/share/postgresql/postgresql.conf.sample ]
|
elif [ -f /usr/share/postgresql/postgresql.conf.sample ]; then
|
||||||
cp /usr/share/postgresql/postgresql.conf.sample "$CONFIG_HOME"/postgresql.conf
|
cp /usr/share/postgresql/postgresql.conf.sample "$CONFIG_HOME"/postgresql.conf
|
||||||
else
|
else
|
||||||
bashio::exit.nok "Config file not found, please ask maintainer"
|
bashio::exit.nok "Config file not found, please ask maintainer"
|
||||||
|
|||||||
Reference in New Issue
Block a user