Browse Source

Bad idea, also search for the lib in a few places

Signed-off-by: fbt <fbt@fleshless.org>
master 0.0.1
Jack L. Frost 2 years ago
parent
commit
4fd60b4dde
3 changed files with 9 additions and 8 deletions
  1. +0
    -5
      le
  2. +4
    -1
      le-issue
  3. +5
    -2
      le-renew

+ 0
- 5
le View File

@ -1,5 +0,0 @@
#!/usr/bin/env bash
subcommand=$1; shift
"le-$subcommand" "$@"

sub/issue → le-issue View File

@ -1,6 +1,9 @@
#!/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() {
declare d

sub/renew → le-renew View File

@ -1,6 +1,9 @@
#!/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() {
while read -r line; do printf '%s\n' "$line"; done <<- EOF
@ -69,7 +72,7 @@ main() {
le_args+=( "$d" )
done
le issue "${le_args[@]}"
le-issue "${le_args[@]}"
if (( $? )); then
> "$cfg_dir/domains/$certname/renew.fail"

Loading…
Cancel
Save