X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;ds=sidebyside;f=certbot-renew-hook;h=9725594f814955f9762fe533b8269844dd060b46;hb=343a048be4b32d18540c6531048d2b9a006774ae;hp=70aa41893f38f4991cd5fea659e50aabc99ab623;hpb=50e3ebaf4941651899a3b52b5245052c3f4ed725;p=distro-setup diff --git a/certbot-renew-hook b/certbot-renew-hook index 70aa418..9725594 100755 --- a/certbot-renew-hook +++ b/certbot-renew-hook @@ -26,7 +26,7 @@ for ((i=0; i<${#domain_user[@]}; i+=2)); do user=${domain_user[i+1]} d=/etc/letsencrypt/live/$domain - if [[ $RENEWED_LINEAGE == $d ]]; then + if [[ $RENEWED_LINEAGE == "$d" ]]; then install -m 640 -g $user $d/{privkey.pem,fullchain.pem} $(eval echo ~$user) exit 0 fi