Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ruanhaishen
Acme.Sh
Commits
30ee00ff
Commit
30ee00ff
authored
Sep 08, 2018
by
LLeny
Browse files
RM TXT check
parent
7e130c26
Changes
1
Show whitespace changes
Inline
Side-by-side
dnsapi/dns_namecheap.sh
View file @
30ee00ff
...
@@ -270,8 +270,7 @@ _del_namecheap_TXT() {
...
@@ -270,8 +270,7 @@ _del_namecheap_TXT() {
while
read
-r
host
;
do
while
read
-r
host
;
do
if
_contains
"
$host
"
"<host"
;
then
if
_contains
"
$host
"
"<host"
;
then
_namecheap_parse_host
"
$host
"
_namecheap_parse_host
"
$host
"
if
[
"
$_hosttype
"
=
"TXT"
]
&&
[
"
$_hostname
"
=
"
$subdomain
"
]
;
then
if
[
"
$_hosttype
"
=
"TXT"
]
&&
[
"
$_hostname
"
=
"
$subdomain
"
]
&&
[
"
$_hostaddress
"
=
"
$txt
"
]
;
then
#&& [ "$_hostaddress" = "$txt" ]
_debug
"TXT entry found"
_debug
"TXT entry found"
found
=
1
found
=
1
else
else
...
...
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