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
ac0dd90c
Commit
ac0dd90c
authored
Feb 17, 2022
by
Marvo2011
Browse files
Fix shfmt
parent
94708502
Changes
1
Hide whitespace changes
Inline
Side-by-side
dnsapi/dns_selfhost.sh
View file @
ac0dd90c
...
@@ -29,7 +29,8 @@ dns_selfhost_add() {
...
@@ -29,7 +29,8 @@ dns_selfhost_add() {
_saveaccountconf_mutable SELFHOSTDNS_RID
"
$SELFHOSTDNS_RID
"
_saveaccountconf_mutable SELFHOSTDNS_RID
"
$SELFHOSTDNS_RID
"
_saveaccountconf_mutable SELFHOSTDNS_RID2
"
$SELFHOSTDNS_RID2
"
_saveaccountconf_mutable SELFHOSTDNS_RID2
"
$SELFHOSTDNS_RID2
"
rid
=
$(
echo
"
$SELFHOSTDNS_MAP
"
|
grep
-Eoi
"
$domain
:(
\d
+)"
|
tr
-d
"
$domain
:"
)
rid
=
$(
echo
"
$SELFHOSTDNS_MAP
"
|
grep
-Eoi
"
$domain
:(
\d
+)"
|
tr
-d
"
$domain
:"
)
if
test
-z
"
$rid
"
;
then
if
test
-z
"
$rid
"
;
then
if
[
$SELFHOSTDNS_LAST_SLOT
=
"2"
]
;
then
if
[
$SELFHOSTDNS_LAST_SLOT
=
"2"
]
;
then
rid
=
$SELFHOSTDNS_RID
rid
=
$SELFHOSTDNS_RID
...
...
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