7
0
mirror of https://github.com/marado/RNID.git synced 2025-03-06 13:40:49 +00:00

scripts: base: não ficar com cópia do ficheiro

This commit is contained in:
Marcos Marado 2021-01-02 12:28:35 +00:00
parent 2a7ca5651e
commit d31dcb769d

View File

@ -1,6 +1,6 @@
#!/bin/bash
fails="$(wget https://www.base.gov.pt/base2-backoffice/images/fundo_base.png -o -|grep -c ^Unable)"
fails="$(wget https://www.base.gov.pt/base2-backoffice/images/fundo_base.png -o - -O /dev/null|grep -c ^Unable)"
if [ "$fails" -eq "0" ]; then
echo "base: incumprimento pode já não existir (1)";