Conditionally set LECONFIGDIR
To be able to set LECONFIGDIR in env var for tests or different setups
This commit is contained in:
@@ -29,7 +29,9 @@
|
||||
PATH=/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin
|
||||
|
||||
# PATH to inifiles / letsencrypt dir
|
||||
if [ -z "${LECONFIGDIR}" ]; then
|
||||
LECONFIGDIR="~/.config/letsencrypt"
|
||||
fi
|
||||
|
||||
# Catch missing LECONFIGDIR
|
||||
if [ ! -d "${LECONFIGDIR}" ]; then
|
||||
|
||||
Reference in New Issue
Block a user