Update nextcloud-install.sh - && > ||

This commit is contained in:
tschettervictor
2024-12-05 07:41:28 -07:00
committed by GitHub
parent d7eb7a405e
commit 0879a4ea97

View File

@@ -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