visual install tweak

pull/8/head
Simon Let 7 years ago
parent 8bb2fc419e
commit b99e4a8edc
  1. 5
      install_helper.sh

@ -2,10 +2,12 @@
if ! go version &>/dev/null; then
echo
echo "==========================================================================="
echo "Please INSTALL GOLANG and run this again"
echo
if [ "$(uname)" = "Darwin" ]; then
echo 'You can probably use `brew install go`.'
echo "==========================================================================="
echo
exit 1
elif [ "$(uname)" = "Linux" ]; then
@ -13,15 +15,18 @@ if ! go version &>/dev/null; then
if [ "${ID}" = "ubuntu" ]; then
echo 'You can probably use `sudo snap install go --classic` (gets latest golang - RECOMMENDED)'
echo 'OR `sudo apt install go` (this might give you old golang)'
echo "==========================================================================="
echo
exit 1
elif [ "${ID_LIKE}" = "debian" ]; then
echo 'You can probably use `sudo apt install go`'
echo "==========================================================================="
echo
exit 1
fi
fi
echo "It's recomended to use your favourite package manager."
echo "==========================================================================="
echo
exit 1
fi

Loading…
Cancel
Save