mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-31 08:04:46 +02:00
Remove unnecessary quotes from command substitutions (#2561)
This commit is contained in:
parent
b4c49d272f
commit
628e902233
46 changed files with 102 additions and 102 deletions
|
@ -52,7 +52,7 @@ function _obtain_hostname_and_domainname
|
|||
# going forward. In future our docs should drop any mention of it.
|
||||
|
||||
#shellcheck disable=SC2034
|
||||
DOMAINNAME="$(hostname -d)"
|
||||
DOMAINNAME=$(hostname -d)
|
||||
fi
|
||||
fi
|
||||
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
# This becomes the sourcing script name
|
||||
# (example: check-for-changes.sh)
|
||||
SCRIPT_NAME="$(basename "$0")"
|
||||
SCRIPT_NAME=$(basename "$0")
|
||||
# Used inside of lock files to identify them and
|
||||
# prevent removal by other instances of docker-mailserver
|
||||
LOCK_ID="$(uuid)"
|
||||
LOCK_ID=$(uuid)
|
||||
|
||||
function _create_lock
|
||||
{
|
||||
|
|
|
@ -187,8 +187,8 @@ function _setup_ssl
|
|||
|
||||
# checks folders in /etc/letsencrypt/live to identify which one to implicitly use:
|
||||
local LETSENCRYPT_DOMAIN LETSENCRYPT_KEY
|
||||
LETSENCRYPT_DOMAIN="$(_find_letsencrypt_domain)"
|
||||
LETSENCRYPT_KEY="$(_find_letsencrypt_key "${LETSENCRYPT_DOMAIN}")"
|
||||
LETSENCRYPT_DOMAIN=$(_find_letsencrypt_domain)
|
||||
LETSENCRYPT_KEY=$(_find_letsencrypt_key "${LETSENCRYPT_DOMAIN}")
|
||||
|
||||
# Update relevant config for Postfix and Dovecot
|
||||
_log 'trace' "Adding ${LETSENCRYPT_DOMAIN} SSL certificate to the postfix and dovecot configuration"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue