Test connection

-replace google.com by apple.com
This commit is contained in:
2024-05-14 07:04:20 +02:00
parent 40040c264b
commit dc4764c832
7 changed files with 15 additions and 9 deletions

View File

@@ -152,7 +152,7 @@ get_info_pkg() {
echo -e "${bold}🍺 Homebrew ${reset}"
curl -Is http://www.google.com | head -1 | grep 200 1>/dev/null
curl -Is https://www.apple.com | head -1 | grep 200 1>/dev/null
if [[ $? -eq 1 ]]; then
echo -e "\n${red}No Internet connection !${reset}"
echo -e "Exit !"
@@ -504,6 +504,11 @@ echo -e "\n🍺 ${underline}The Doc is checking that everything is ok...${reset}
brew doctor
echo "python-cryptography required by certbot"
echo "python-certifi required by certbot and yt-dlp"
echo "numpy required ffmpeg and openvin"
# suprimer: python-packaging python-argcomplete
brew missing
status=$?
if [ $status -ne 0 ]; then brew missing --verbose; fi