From 6b9a3e354431ac2528e55e656fb5f315352d6ac7 Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sat, 27 May 2023 20:46:03 +0200 Subject: [PATCH] Update 99-run.sh --- postgres/rootfs/etc/cont-init.d/99-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/postgres/rootfs/etc/cont-init.d/99-run.sh b/postgres/rootfs/etc/cont-init.d/99-run.sh index 7624ac511..e0ff9b187 100644 --- a/postgres/rootfs/etc/cont-init.d/99-run.sh +++ b/postgres/rootfs/etc/cont-init.d/99-run.sh @@ -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"