8 |
# |
# |
9 |
|
|
10 |
USER=pam2006 |
USER=pam2006 |
11 |
PASS=Resurs2005 |
PASS=Resurs05 |
12 |
OUTFILE=tle.txt |
OUTFILE=tle.txt |
13 |
FORCE="no" |
FORCE="no" |
14 |
|
|
93 |
echo " Done!" |
echo " Done!" |
94 |
echo "" |
echo "" |
95 |
|
|
96 |
if [[ `wc -l < .tleretrieved.txt` -le 2 ]]; then # no tle |
CHECK=`grep -i resurs .tleretrieved.txt ` |
97 |
|
if [[ `wc -l < .tleretrieved.txt` -le 2 ]] || [ "$CHECK" == "" ]; then # no tle |
98 |
echo "ERROR: No tle retrieved from spacetrack.org" |
echo "ERROR: No tle retrieved from spacetrack.org" |
99 |
echo "" |
echo "" |
100 |
rm -f .cookies.txt |
rm -f .cookies.txt |