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
842f0303
Commit
842f0303
authored
Dec 04, 2018
by
Adrian Almenar
Browse files
Revert change
parent
f4ad42bb
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_neodigit.sh
View file @
842f0303
...
@@ -17,7 +17,7 @@ dns_neodigit_add() {
...
@@ -17,7 +17,7 @@ dns_neodigit_add() {
fulldomain
=
$1
fulldomain
=
$1
txtvalue
=
$2
txtvalue
=
$2
NEODIGIT_API_TOKEN
=
"
$(
_readaccountconf_mutable NEODIGIT_API_TOKEN
)
}"
NEODIGIT_API_TOKEN
=
"
$
{
NEODIGIT_API_TOKEN
:-
$
(
_readaccountconf_mutable NEODIGIT_API_TOKEN
)
}
"
if
[
-z
"
$NEODIGIT_API_TOKEN
"
]
;
then
if
[
-z
"
$NEODIGIT_API_TOKEN
"
]
;
then
NEODIGIT_API_TOKEN
=
""
NEODIGIT_API_TOKEN
=
""
_err
"You haven't specified a Token api key."
_err
"You haven't specified a Token api key."
...
@@ -73,7 +73,7 @@ dns_neodigit_rm() {
...
@@ -73,7 +73,7 @@ dns_neodigit_rm() {
fulldomain
=
$1
fulldomain
=
$1
txtvalue
=
$2
txtvalue
=
$2
NEODIGIT_API_TOKEN
=
"
$(
_readaccountconf_mutable NEODIGIT_API_TOKEN
)
}"
NEODIGIT_API_TOKEN
=
"
$
{
NEODIGIT_API_TOKEN
:-
$
(
_readaccountconf_mutable NEODIGIT_API_TOKEN
)
}
"
if
[
-z
"
$NEODIGIT_API_TOKEN
"
]
;
then
if
[
-z
"
$NEODIGIT_API_TOKEN
"
]
;
then
NEODIGIT_API_TOKEN
=
""
NEODIGIT_API_TOKEN
=
""
_err
"You haven't specified a Token api key."
_err
"You haven't specified a Token api key."
...
...
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