Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ select choice in "${choices[@]}"; do
yes)

echo "Installing Golang"
wget https://dl.google.com/go/go1.12.7.linux-amd64.tar.gz
sudo tar -xvf go1.12.7.linux-amd64.tar.gz
sudo mv go /usr/local

wget https://dl.google.com/go/go1.13.linux-amd64.tar.gz
sudo tar -zxvf go1.13.linux-amd64.tar.gz -C /usr/local/
export GOROOT=/usr/local/go
export GOPATH=$HOME/go
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
sleep 1
break
Expand All @@ -56,7 +56,7 @@ select choice in "${choices[@]}"; do
echo "Aborting installation..."
exit 1
;;
esac
esac
done
fi

Expand Down Expand Up @@ -161,11 +161,11 @@ cd ~/tools/
echo "done"

echo "installing httprobe"
go get -u github.com/tomnomnom/httprobe
go get -u github.com/tomnomnom/httprobe
echo "done"

echo "installing unfurl"
go get -u github.com/tomnomnom/unfurl
go get -u github.com/tomnomnom/unfurl
echo "done"

echo "installing waybackurls"
Expand Down