Bad idea, also search for the lib in a few places
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
c440d465c2
commit
4fd60b4dde
|
@ -1,6 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source lib/util
|
LPATH=( /usr/lib/le "$HOME/.local/lib/le" "lib/le" "lib" )
|
||||||
|
for l in "${LPATH[@]}"; do
|
||||||
|
[[ -f "$l/util" ]] && source "$l/util"
|
||||||
|
done
|
||||||
|
|
||||||
gen_san_string() {
|
gen_san_string() {
|
||||||
declare d
|
declare d
|
|
@ -1,6 +1,9 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
source lib/util
|
LPATH=( /usr/lib/le "$HOME/.local/lib/le" "lib/le" "lib" )
|
||||||
|
for l in "${LPATH[@]}"; do
|
||||||
|
[[ -f "$l/util" ]] && source "$l/util"
|
||||||
|
done
|
||||||
|
|
||||||
usage() {
|
usage() {
|
||||||
while read -r line; do printf '%s\n' "$line"; done <<- EOF
|
while read -r line; do printf '%s\n' "$line"; done <<- EOF
|
||||||
|
@ -69,7 +72,7 @@ main() {
|
||||||
le_args+=( "$d" )
|
le_args+=( "$d" )
|
||||||
done
|
done
|
||||||
|
|
||||||
le issue "${le_args[@]}"
|
le-issue "${le_args[@]}"
|
||||||
|
|
||||||
if (( $? )); then
|
if (( $? )); then
|
||||||
> "$cfg_dir/domains/$certname/renew.fail"
|
> "$cfg_dir/domains/$certname/renew.fail"
|
Loading…
Reference in New Issue
Block a user