evoacme: invert test logic
This commit is contained in:
parent
baa5eae784
commit
350abe5787
|
@ -209,7 +209,7 @@ main() {
|
||||||
|
|
||||||
#### CERTIFICATE ACTIVATION
|
#### CERTIFICATE ACTIVATION
|
||||||
|
|
||||||
if [ -h "${LIVE_DIR}" ]; then
|
if [ ! -h "${LIVE_DIR}" ]; then
|
||||||
# We don't have a live symlink yet
|
# We don't have a live symlink yet
|
||||||
# Let's start from scratch and configure our web server(s)
|
# Let's start from scratch and configure our web server(s)
|
||||||
command -v apache2ctl && sed_cert_path_for_apache "${VHOST}" "${LIVE_FULLCHAIN}"
|
command -v apache2ctl && sed_cert_path_for_apache "${VHOST}" "${LIVE_FULLCHAIN}"
|
||||||
|
|
Loading…
Reference in a new issue