fixed errors
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
trap 'exit 130' INT
|
||||
while true
|
||||
do
|
||||
read -r -p "Would you like to install Hockeypuck? [Y/n] " input
|
||||
@ -23,11 +23,6 @@ else
|
||||
CURL_NOT_EXIST=0
|
||||
fi
|
||||
sudo apt-get install bzr git mercurial -y
|
||||
set -b
|
||||
ping -c1 "go.dev" &>"/dev/null"
|
||||
if [[ "${?}" -ne 0 ]]; then
|
||||
echo "I am unable to access one of the necessary domains that are needed to continue this Install."
|
||||
elif [[ "${#args[@]}" -eq 0 ]]; then
|
||||
# Check if curl is installed
|
||||
if [ ! -x /usr/bin/curl ] ; then
|
||||
CURL_NOT_EXIST=1
|
||||
|
Reference in New Issue
Block a user