From 0879a4ea97c1e7c479f7a77cd327641928f20229 Mon Sep 17 00:00:00 2001 From: tschettervictor <85497460+tschettervictor@users.noreply.github.com> Date: Thu, 5 Dec 2024 07:41:28 -0700 Subject: [PATCH] Update nextcloud-install.sh - && > || --- nextcloud/nextcloud-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nextcloud/nextcloud-install.sh b/nextcloud/nextcloud-install.sh index 6c184fc..8ca176e 100644 --- a/nextcloud/nextcloud-install.sh +++ b/nextcloud/nextcloud-install.sh @@ -43,7 +43,7 @@ if [ -z "${HOST_NAME}" ]; then echo 'Configuration error: HOST_NAME must be set' exit 1 fi -if [ "${DB_TYPE}" != "MariaDB" ] && [ "${DB_TYPE}" != "PostgreSQL" ]; then +if [ "${DB_TYPE}" != "MariaDB" ] || [ "${DB_TYPE}" != "PostgreSQL" ]; then echo 'Configuration error: DATABASE must be set to "MariaDB" or "PostgreSQL"' exit 1 fi