Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
3ce67b28
Commit
3ce67b28
authored
May 29, 2022
by
neilpang
Browse files
merge
https://github.com/acmesh-official/acme.sh/pull/4108
merge
https://github.com/acmesh-official/acme.sh/pull/4108
parent
606e59a5
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_selectel.sh
View file @
3ce67b28
...
@@ -76,7 +76,7 @@ dns_selectel_rm() {
...
@@ -76,7 +76,7 @@ dns_selectel_rm() {
return
1
return
1
fi
fi
_record_seg
=
"
$(
echo
"
$response
"
| _egrep_o
"
\"
content
\"
*: *
\"
$txtvalue
\"
[^}]*}"
)
"
_record_seg
=
"
$(
echo
"
$response
"
| _egrep_o
"
[^{]*
\"
content
\"
*: *
\"
$txtvalue
\"
[^}]*}"
)
"
_debug2
"_record_seg"
"
$_record_seg
"
_debug2
"_record_seg"
"
$_record_seg
"
if
[
-z
"
$_record_seg
"
]
;
then
if
[
-z
"
$_record_seg
"
]
;
then
_err
"can not find _record_seg"
_err
"can not find _record_seg"
...
@@ -120,7 +120,7 @@ _get_root() {
...
@@ -120,7 +120,7 @@ _get_root() {
return
1
return
1
fi
fi
if
_contains
"
$response
"
"
\"
name
\"
: *
\"
$h
\"
,"
;
then
if
_contains
"
$response
"
"
\"
name
\"
*
: *
\"
$h
\"
,"
;
then
_sub_domain
=
$(
printf
"%s"
"
$domain
"
|
cut
-d
.
-f
1-
$p
)
_sub_domain
=
$(
printf
"%s"
"
$domain
"
|
cut
-d
.
-f
1-
$p
)
_domain
=
$h
_domain
=
$h
_debug
"Getting domain id for
$h
"
_debug
"Getting domain id for
$h
"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment