mirror of
https://github.com/Z4nzu/hackingtool
synced 2024-11-14 19:55:19 +00:00
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:
parent
c81c08c1e9
commit
d8796a171d
@ -39,7 +39,7 @@ INSTALL_DIR="/usr/share/doc/hackingtool"
|
|||||||
BIN_DIR="/usr/bin/"
|
BIN_DIR="/usr/bin/"
|
||||||
if [ $choice == 1 ]; then
|
if [ $choice == 1 ]; then
|
||||||
echo "[*] Checking Internet Connection .."
|
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
|
if [[ $? -eq 0 ]]; then
|
||||||
echo -e ${BLUE}"[✔] Loading ... "
|
echo -e ${BLUE}"[✔] Loading ... "
|
||||||
sudo apt-get update && apt-get upgrade
|
sudo apt-get update && apt-get upgrade
|
||||||
|
Loading…
Reference in New Issue
Block a user