mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-05-08 13:47:01 +00:00
Travis 6
This commit is contained in:
parent
e16e44872c
commit
6930607546
@ -111,7 +111,6 @@ dns_aruba_add() {
|
||||
fi
|
||||
_debug _domain "$_domain"
|
||||
_sub_domain="_acme-challenge"
|
||||
|
||||
_debug "Check if _acme-challenge record exists in " "$_domain"
|
||||
if ! _extract_record_id "$_sub_domain.$_domain."; then
|
||||
_method="POST"
|
||||
@ -160,13 +159,12 @@ dns_aruba_rm() {
|
||||
# returns TXT record and put it in_record_id, if esists
|
||||
_extract_record_id() {
|
||||
subdomain="$1"
|
||||
_arrayid=0
|
||||
_ids="$(echo "$domainData" | _egrep_o '"Id": [^,]+' | cut -d : -f 2)"
|
||||
_debug $ids
|
||||
_debug "$_ids"
|
||||
#_temp="$(echo $domainData | grep -oP "\"DomainId\":\s\d{1,}," | tr -d ' ')"
|
||||
#_domainids="$(echo $_temp | tr -d ' ')"
|
||||
_names="$(echo "$domainData" | _egrep_o '"Name": [^,]*' | cut -d : -f 2)"
|
||||
_debug $names
|
||||
_debug "$_names"
|
||||
ARRAY_IDS=$(echo "$_ids" | tr ", " "\n")
|
||||
ARRAY_NAMES=$_names
|
||||
j=0
|
||||
|
Loading…
x
Reference in New Issue
Block a user