From 350abe5787f7b474a79731328aa6dba9ce95fbea Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Fri, 13 Oct 2017 14:05:05 +0200 Subject: [PATCH] evoacme: invert test logic --- evoacme/files/evoacme.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evoacme/files/evoacme.sh b/evoacme/files/evoacme.sh index 0a36262a..2b4767b8 100755 --- a/evoacme/files/evoacme.sh +++ b/evoacme/files/evoacme.sh @@ -209,7 +209,7 @@ main() { #### CERTIFICATE ACTIVATION - if [ -h "${LIVE_DIR}" ]; then + if [ ! -h "${LIVE_DIR}" ]; then # We don't have a live symlink yet # Let's start from scratch and configure our web server(s) command -v apache2ctl && sed_cert_path_for_apache "${VHOST}" "${LIVE_FULLCHAIN}"