Browse Source

Update dns_kas.sh

Removing spaces in empty lines
pull/1341/head
Marco4223 5 years ago
parent
commit
431c53efcf
  1. 6
      dnsapi/dns_kas.sh

6
dnsapi/dns_kas.sh

@ -61,14 +61,14 @@ dns_kas_rm() {
_info "Using DNS-01 All-inkl/Kasserver hook" _info "Using DNS-01 All-inkl/Kasserver hook"
_info "Cleaning up after All-inkl/Kasserver hook" _info "Cleaning up after All-inkl/Kasserver hook"
_info "Removing $_fulldomain DNS TXT entry on All-inkl/Kasserver" _info "Removing $_fulldomain DNS TXT entry on All-inkl/Kasserver"
_info "Check and Save Props" _info "Check and Save Props"
_check_and_save _check_and_save
_info "Checking Zone and Record_Name" _info "Checking Zone and Record_Name"
_get_zone_and_record_name "$_fulldomain" _get_zone_and_record_name "$_fulldomain"
_info "Getting Record ID" _info "Getting Record ID"
_get_record_id _get_record_id
# If there is a record_id, delete the entry # If there is a record_id, delete the entry
if [ -n "$_record_id" ]; then if [ -n "$_record_id" ]; then
params="?kas_login=$KAS_Login" params="?kas_login=$KAS_Login"
@ -119,7 +119,7 @@ _check_and_save() {
# Gets back the base domain/zone and record name. # Gets back the base domain/zone and record name.
# See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide # See: https://github.com/Neilpang/acme.sh/wiki/DNS-API-Dev-Guide
_get_zone_and_record_name() { _get_zone_and_record_name() {
params="?kas_login=$KAS_Login"
params="?kas_login=$KAS_Login" params="?kas_login=$KAS_Login"
params="$params&kas_auth_type=$KAS_Authtype" params="$params&kas_auth_type=$KAS_Authtype"
params="$params&kas_auth_data=$KAS_Authdata" params="$params&kas_auth_data=$KAS_Authdata"

Loading…
Cancel
Save