Commit eba788e8 authored by Bjarke Bruun's avatar Bjarke Bruun
Browse files

Removed check for _acme-challenge and acmetestXyzRandomName.github-test sub-domain

parent 444b111a
...@@ -204,12 +204,6 @@ deleteRecord() { ...@@ -204,12 +204,6 @@ deleteRecord() {
fulldomain=$1 fulldomain=$1
txtvalue=$2 txtvalue=$2
# Fix for acmetest to limit acme.sh to only work on _acme-challenge and acmeTestXYzRandomName in GitHub actions
if [ "$(echo "$fulldomain" | grep "_acme-challenge\|acmetestXyzRandomName.github-test")" = "" ]; then
_err "The script tried to delete the record $fulldomain which is not the above created ACME challenge"
return 1
fi
_debug2 deleteRecord "Deleting $fulldomain TXT $txtvalue record" _debug2 deleteRecord "Deleting $fulldomain TXT $txtvalue record"
if [ -z "$rootZoneName" ] || [ -z "$rootZoneDomainID" ] || [ -z "$rootZoneServiceID" ]; then if [ -z "$rootZoneName" ] || [ -z "$rootZoneDomainID" ] || [ -z "$rootZoneServiceID" ]; then
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment