mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] use '-p' option of mkdir command to check '/etc/dkim' folder exist at its creation.
This commit is contained in:
parent
4912a2afae
commit
3ecd22c372
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ do_post_regen() {
|
||||||
domain_list=$(sudo yunohost domain list --output-as plain --quiet)
|
domain_list=$(sudo yunohost domain list --output-as plain --quiet)
|
||||||
|
|
||||||
# create DKIM directory
|
# create DKIM directory
|
||||||
[[ -f /etc/dkim ]] || sudo mkdir /etc/dkim
|
sudo mkdir -p /etc/dkim
|
||||||
|
|
||||||
# create DKIM key for domains
|
# create DKIM key for domains
|
||||||
for domain in $domain_list; do
|
for domain in $domain_list; do
|
||||||
|
|
Loading…
Add table
Reference in a new issue