mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-18 18:38:17 +01: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
|
||||
if [ -f /usr/local/share/postgresql/postgresql.conf.sample ]; then
|
||||
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
|
||||
else
|
||||
bashio::exit.nok "Config file not found, please ask maintainer"
|
||||
|
||||
Reference in New Issue
Block a user