fixed errors

This commit is contained in:
2023-08-04 01:30:15 -07:00
parent 205998f576
commit ece5f6ae68
17 changed files with 21 additions and 67 deletions

View File

@ -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