Fix condition
This commit is contained in:
parent
9dd70c0e17
commit
e5cd494c5a
@ -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
|
||||
|
Reference in New Issue
Block a user