Browse Source

Update dns_limacity.sh

pull/4757/head
laraveluser 12 months ago
committed by GitHub
parent
commit
ad5acb80fe
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dnsapi/dns_limacity.sh

2
dnsapi/dns_limacity.sh

@ -66,7 +66,7 @@ _lima_get_domain_id() {
p=1 p=1
domains=$(_get "${APIBASE}/domains.json") domains=$(_get "${APIBASE}/domains.json")
if [ "$(echo "$domains" | _egrep_o "^\{\"domains\"")" ] ; then
if [ "$(echo "$domains" | _egrep_o "^\{\"domains\"")" ]; then
response="$(echo "$domains" | tr -d "\n" | tr '{' "|" | sed 's/|/&{/g' | tr "|" "\n")" response="$(echo "$domains" | tr -d "\n" | tr '{' "|" | sed 's/|/&{/g' | tr "|" "\n")"
while true; do while true; do
h=$(printf "%s" "$domain" | cut -d . -f $i-100) h=$(printf "%s" "$domain" | cut -d . -f $i-100)

Loading…
Cancel
Save