diff --git a/setup.sh b/setup.sh index d24640b..c54221e 100755 --- a/setup.sh +++ b/setup.sh @@ -271,7 +271,7 @@ if [ "${useCertbot}" -eq 1 ]; then fi # Generate paths from CertbotDomain -if [ "${useCertbot}" -eq 1 ]; then +if [ "${CertbotDomain}" -eq 1 ]; then CertPath="/etc/letsencrypt/live/${CertbotDomain}/fullchain.pem" KeyPath="/etc/letsencrypt/live/${CertbotDomain}/privkey.pem" CAChainPath="/etc/letsencrypt/live/${CertbotDomain}/chain.pem"