mirror of
https://github.com/acmesh-official/acme.sh.git
synced 2025-04-30 04:22:44 +00:00
dnsapi: Beget.com fix rm record
This commit is contained in:
parent
2fef0ebea8
commit
aa6feb4b62
@ -237,7 +237,9 @@ _add_record() {
|
|||||||
_rm_record() {
|
_rm_record() {
|
||||||
data=$1
|
data=$1
|
||||||
record_data=$2
|
record_data=$2
|
||||||
echo "$data" | sed "s/$record_data,//" | sed "s/,$record_data//" | sed "s/$record_data//"
|
echo "$data" | sed "s/$record_data//g" | sed "s/,\+/,/g" |
|
||||||
|
sed "s/{,/{/g" | sed "s/,}/}/g" |
|
||||||
|
sed "s/\[,/\[/g" | sed "s/,\]/\]/g"
|
||||||
}
|
}
|
||||||
|
|
||||||
_txt_to_dns_json() {
|
_txt_to_dns_json() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user