diff options
author | Andrew Cady <d@jerkface.net> | 2020-09-21 10:53:24 -0400 |
---|---|---|
committer | Andrew Cady <d@jerkface.net> | 2020-09-21 10:53:24 -0400 |
commit | d9b2a6f552ea5f904821f16e901baa307bdb4095 (patch) | |
tree | 113b7c3e2789ce1edf284cd2fd0cf2b73b2fe6a7 | |
parent | 4f1a27132876af5df548546acd0a57918cdba7a6 (diff) |
add missing mkdir
-rw-r--r-- | selfpublish.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/selfpublish.sh b/selfpublish.sh index f1c8af7..78fcff6 100644 --- a/selfpublish.sh +++ b/selfpublish.sh | |||
@@ -577,6 +577,8 @@ install_gpg_rings() | |||
577 | export GNUPGHOME | 577 | export GNUPGHOME |
578 | fi | 578 | fi |
579 | 579 | ||
580 | [ -d "$dest" ] || mkdir -p "$dest" | ||
581 | |||
580 | gpg --list-options show-only-fpr-mbox -k "$uid" 2>&- | process_key "$uid" "$dest" | 582 | gpg --list-options show-only-fpr-mbox -k "$uid" 2>&- | process_key "$uid" "$dest" |
581 | 583 | ||
582 | find /srv/"$DOMAIN"/public_html/.well-known/openpgpkey/ -type d -exec chmod 755 '{}' ';' | 584 | find /srv/"$DOMAIN"/public_html/.well-known/openpgpkey/ -type d -exec chmod 755 '{}' ';' |