Fix condition

This commit is contained in:
Luke Murphy 2020-03-15 09:07:19 +01:00
parent 9dd70c0e17
commit e5cd494c5a
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ setup_root_user() {
setup_letsencrypt_certs() {
set -eu
if [ -d "/home/dokku/gitea/letsencrypt" ]; then
if [ ! -d "/home/dokku/gitea/letsencrypt" ]; then
echo "=====> Generating let's encrypt certificates"
dokku letsencrypt "$APP"
fi