mirror of
https://github.com/marado/RNID.git
synced 2024-12-21 11:34:15 +00:00
economia: fix script comparison
This commit is contained in:
parent
e1527c4814
commit
b404d1a414
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
fail=0;
|
||||
if [ "$(curl https://www.dgae.gov.pt -o /dev/null || echo $?)" -eq "60" ]; then
|
||||
if [ "$(curl https://www.dgae.gov.pt -o /dev/null; echo $?)" -eq "60" ]; then
|
||||
echo "economia: problema com o certificado SSL";
|
||||
fail=1;
|
||||
elif [ "$(curl -s -I https://www.dgae.gov.pt/gestao-de-ficheiros-externos-dgae-ano-2015/1_formulario-registo_mf_nao_harmonizadas-doc.aspx|grep filename|cut -d= -f2| tr -d '\r')" == "i010066.doc" ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user