minor install improvement

pull/8/head
Simon Let 7 years ago
parent f874e93bc3
commit ec199444eb
  1. 9
      install_helper.sh

@ -52,6 +52,15 @@ else
echo echo
echo "===========================================================================" echo "==========================================================================="
echo "Your Golang version is older than 1.11 - we can't use go modules for build!" echo "Your Golang version is older than 1.11 - we can't use go modules for build!"
echo "It's RECOMMENDED to update your Golang! (press Ctrl+C and update Golang manually)"
if [ "$(uname)" = "Linux" ]; then
. /etc/os-release
if [ "${ID}" = "ubuntu" ]; then
echo 'You can probably use `sudo snap install go --classic` to get latest Golang.'
fi
fi
echo
echo "I will try to build the project using dep. (I will let you review each step.)" echo "I will try to build the project using dep. (I will let you review each step.)"
echo "Continue? (Any key to continue / Ctrl+C to cancel)" echo "Continue? (Any key to continue / Ctrl+C to cancel)"
read x read x

Loading…
Cancel
Save