Test connection
-replace google.com by apple.com
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user