mirror of
https://github.com/YunoHost/package_check.git
synced 2024-09-03 20:06:20 +02:00
Do not test ressources if the page itself returns an error
This commit is contained in:
parent
35e2f53e30
commit
6b314ee11f
1 changed files with 4 additions and 1 deletions
|
@ -273,7 +273,10 @@ CHECK_URL () {
|
||||||
echo -e "\e[0m"
|
echo -e "\e[0m"
|
||||||
|
|
||||||
# Test http status of ressources files
|
# Test http status of ressources files
|
||||||
CHECK_URL_RESSOURCES
|
if [[ $curl_error -eq 0 ]]
|
||||||
|
then
|
||||||
|
CHECK_URL_RESSOURCES
|
||||||
|
fi
|
||||||
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue