Update init-letsencrypt.sh

This commit is contained in:
michelleDeko
2025-01-08 11:47:41 +01:00
committed by GitHub
parent e6b1f4fda5
commit ea19087bbc

View File

@@ -3,7 +3,7 @@
## Scrip based on https://github.com/wmnnd/nginx-certbot
## https://pentacent.medium.com/nginx-and-lets-encrypt-with-docker-in-less-than-5-minutes-b4b8a60d3a71
if ! [ -x "$(command -v docker-compose)" ] && ! [ -x "$(command -v docker compose)" ]; then
if ! [ -x "$(command -v docker-compose)" ] || ! [ -x "$(command -v docker compose)" ]; then
echo 'Error: docker-compose is not installed.' >&2
exit 1
fi