Random Project

Fix for .org domain checks failing

Since the last couple of days – the .org domain checks are failing. I fixed this with the following simple edits:

Change: (from around line 100)
elif [ $TYPE == ‘pir’ ];
then
expiration=`cat ${FILE} | awk ‘/Expiration Date:/’ | cut -d ‘:’ -f2 | cut -d ‘ ‘ -f1`

To:
elif [ $TYPE == ‘pir’ ];
then
#Registry Expiry Date
expiration=`cat ${FILE} | awk ‘/Registry Expiry Date:/’ | cut -d ‘:’ -f2`