Merge pull request #69 from epushor/patch-1

Update install.sh
This commit is contained in:
Mr.Z4nzu 2020-07-24 13:46:10 +05:30 committed by GitHub
commit 920a238ea1
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