mirror of https://github.com/dnomd343/IANA-TLD
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
236 B
15 lines
236 B
rm -rf /temp
|
|
cd ./src
|
|
php main.php
|
|
cd ../temp
|
|
if [ ! -f "success" ]; then
|
|
echo -e "\033[31merror\033[0m"
|
|
cd ..
|
|
rm -rf temp/
|
|
exit 0
|
|
fi
|
|
rm success
|
|
cat tldInfo.min.json | jq . > tldInfo.json
|
|
cd ..
|
|
rm -rf release/
|
|
mv temp/ release/
|
|
|