evoacme: exclude typical certbot directories

This commit is contained in:
Jérémy Lecour 2018-01-22 18:26:20 +01:00 committed by Jérémy Lecour
parent 88bdf270d7
commit 19b2da5b92
2 changed files with 14 additions and 2 deletions

View File

@ -16,6 +16,7 @@ The **patch** part changes incrmentally at each release.
### Changed
* Changelog: explain the versioning scheme
* Changelog: add a release date for 9.1.5
* evoacme: exclude typical certbot directories
## [9.1.5] - 2018-01-18

View File

@ -11,5 +11,16 @@ CRT_DIR="${CRT_DIR:-'/etc/letsencrypt'}"
export QUIET=1
find "${CRT_DIR}" -maxdepth 1 -mindepth 1 -type d ! -path "*accounts" ! -path "*hooks" -printf "%f\n" \
| xargs --max-args=1 --no-run-if-empty evoacme
find "${CRT_DIR}" \
-maxdepth 1 \
-mindepth 1 \
-type d \
! -path "*accounts" \
! -path "*archive" \
! -path "*csr" \
! -path "*hooks" \
! -path "*keys" \
! -path "*live" \
! -path "*renewal" \
-printf "%f\n" \
| xargs --max-args=1 --no-run-if-empty evoacme