diff --git a/content/opt/setup/60-icingaweb2 b/content/opt/setup/60-icingaweb2 index cf4c044..ae3c9ad 100755 --- a/content/opt/setup/60-icingaweb2 +++ b/content/opt/setup/60-icingaweb2 @@ -14,7 +14,7 @@ mysql_wait \ "${ICINGAWEB2_MYSQL_HOST}" \ "${ICINGAWEB2_MYSQL_PORT}" -if [ ! "$(ls -A /etc/icingaweb2/resources.ini)" ]; then +if [ ! -f /etc/icingaweb2/resources.ini ]; then echo "=> Copying fresh config-files for /etc/icingaweb2" mkdir -p /etc/icingaweb2 cp -R /etc/icingaweb2.dist/* /etc/icingaweb2/