chore: explicitly mark license for scripts/get-tlds-update.sh (#6668)

This commit is contained in:
pajlada
2026-03-21 14:11:00 +01:00
committed by GitHub
parent fee1fbdabd
commit 56a2accc90
+5 -1
View File
@@ -1,5 +1,9 @@
#!/bin/sh
# SPDX-FileCopyrightText: 2018 LajamerrMittesdine <danieljmerritt4394@gmail.com>
#
# SPDX-License-Identifier: CC0-1.0
#Download the official list of active TLDs from IANA
#Remove the first line that contains data not needed.
#Put everything that can be into lowercase.
@@ -10,4 +14,4 @@ curl -s 'https://data.iana.org/TLD/tlds-alpha-by-domain.txt' | sed -e '1d' -e 's
#Convert the punycode to Unicode.
#Append the results to the current file.
sed -n -e '/^xn--/p' tlds.txt | idn2 -d >> tlds.txt
mv tlds.txt ../resources/tlds.txt
mv tlds.txt ../resources/tlds.txt