--- YodaProfiler/docs/retrieve_TLE.sh 2006/10/17 15:56:00 1.2 +++ YodaProfiler/docs/retrieve_TLE.sh 2006/10/31 15:36:01 1.3 @@ -93,7 +93,8 @@ echo " Done!" echo "" -if [[ `wc -l < .tleretrieved.txt` -le 2 ]]; then # no tle +CHECK=`grep -i resurs .tleretrieved.txt ` +if [[ `wc -l < .tleretrieved.txt` -le 2 ]] || [ "$CHECK" == "" ]; then # no tle echo "ERROR: No tle retrieved from spacetrack.org" echo "" rm -f .cookies.txt