Replace bash specific equality check with POSIX check.
Closes #2056. Thanks to Greg Troxel.
This commit is contained in:
parent
217b416a2d
commit
f7dcd83572
@ -12,7 +12,7 @@
|
||||
# Place this script in /etc/letsencrypt/renewal-hooks/deploy/ and make it
|
||||
# executable after editing it to your needs.
|
||||
|
||||
if [ ${RENEWED_DOMAINS} == "my-mosquitto-domain" ]; then
|
||||
if [ ${RENEWED_DOMAINS} = "my-mosquitto-domain" ]; then
|
||||
# Copy new certificate to Mosquitto directory
|
||||
cp ${RENEWED_LINEAGE}/fullchain.pem /etc/mosquitto/certs/server.pem
|
||||
cp ${RENEWED_LINEAGE}/privkey.pem /etc/mosquitto/certs/server.key
|
||||
|
Loading…
Reference in New Issue
Block a user