Update install.sh

wget option will not work with http but instead with https - or remove the entire line, the program will not install.
This commit is contained in:
epushor 2020-07-23 23:37:19 +03:00 committed by GitHub
parent c81c08c1e9
commit d8796a171d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ INSTALL_DIR="/usr/share/doc/hackingtool"
BIN_DIR="/usr/bin/"
if [ $choice == 1 ]; then
echo "[*] Checking Internet Connection .."
wget -q --tries=10 --timeout=20 --spider http://google.com
wget -q --tries=10 --timeout=20 --spider https://google.com
if [[ $? -eq 0 ]]; then
echo -e ${BLUE}"[✔] Loading ... "
sudo apt-get update && apt-get upgrade