From 9519e226e9d3db8ac07702d41d0bc702b0366e4d Mon Sep 17 00:00:00 2001 From: Bruno TATU Date: Tue, 21 Nov 2017 14:44:36 +0100 Subject: [PATCH] evoacme: remove double caret in sed pattern --- 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 e35c97b9..7875d889 100755 --- a/evoacme/files/evoacme.sh +++ b/evoacme/files/evoacme.sh @@ -53,7 +53,7 @@ sed_cert_path_for_apache() { if ! $(grep -qE "${search}" "${vhost_full_path}"); then [ -w "${vhost_full_path}" ] || error "File ${vhost_full_path} is not writable" - sed -i "s~^${search}~${replace}~" "${vhost_full_path}" + sed -i "s~${search}~${replace}~" "${vhost_full_path}" debug "Config in ${vhost_full_path} has been updated" $(command -v apache2ctl) -t fi