mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-05 23:24:54 +00:00
Check/assign variables before printing debug2
This commit is contained in:
parent
bfaacd6d5b
commit
db49858f21
15
deploy/plex.sh
Normal file → Executable file
15
deploy/plex.sh
Normal file → Executable file
@ -35,11 +35,6 @@ plex_deploy() {
|
||||
_getdeployconf PLEX_PKCS12_file
|
||||
_getdeployconf PLEX_sudo_required
|
||||
|
||||
|
||||
_debug2 PLEX_PKCS12_password "$PLEX_PKCS12_password"
|
||||
_debug2 PLEX_PKCS12_file "$PLEX_PKCS12_file"
|
||||
_debug2 PLEX_sudo_required "$PLEX_sudo_required"
|
||||
|
||||
|
||||
#_DEPLOY_PLEX_WIKI="https://github.com/acmesh-official/acme.sh/wiki/deploy-to-plex"
|
||||
|
||||
@ -49,10 +44,20 @@ plex_deploy() {
|
||||
#_err "See: $_DEPLOY_PLEX_WIKI"
|
||||
return 1
|
||||
fi
|
||||
_debug2 PLEX_PKCS12_password "$PLEX_PKCS12_password"
|
||||
|
||||
if [ -z "$PLEX_PKCS12_file" ]; then
|
||||
PLEX_PKCS12_file="$DOMAIN_PATH/$_cdomain.pfx"
|
||||
_debug2 "Setting PLEX_PKCS12_file to default"
|
||||
fi
|
||||
_debug2 PLEX_PKCS12_file "$PLEX_PKCS12_file"
|
||||
|
||||
if [ -z "$PLEX_sudo_required" ]; then
|
||||
PLEX_sudo_required=0
|
||||
_debug2 "Setting PLEX_PKCS12_file to default (0/False)"
|
||||
fi
|
||||
|
||||
_debug2 PLEX_sudo_required "$PLEX_sudo_required"
|
||||
|
||||
_reload_cmd=""
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user