Browse Source

Add non-brew install instructions

umbrel-beta
Luke Childs 5 years ago
parent
commit
91b5fd5e2a
  1. 13
      umbrel-dev

13
umbrel-dev

@ -38,15 +38,20 @@ fi
# Check required dependencies are installed # Check required dependencies are installed
# If not, fail with instructions on how to fix # If not, fail with instructions on how to fix
check_dependencies() { check_dependencies() {
# TODO: Only warn about gnu-sed on macos and properly handle both sed/gsed in $PATH
for cmd in "gsed" "git" "vagrant" "vboxmanage"; do for cmd in "gsed" "git" "vagrant" "vboxmanage"; do
if ! command -v $cmd >/dev/null 2>&1; then if ! command -v $cmd >/dev/null 2>&1; then
echo "This script requires gnu-sed, Git, VirtualBox and Vagrant to be installed." echo "This script requires Git, VirtualBox and Vagrant to be installed."
echo echo
echo "You can install them with brew:" echo "If you use Homebrew you can install them with:"
echo echo
echo " brew install gnu-sed git" echo " brew install git"
echo " brew cask install vagrant virtualbox" echo " brew cask install vagrant virtualbox"
echo
echo "Otherwise see:"
echo
echo " https://git-scm.com/downloads"
echo " https://virtualbox.org/wiki/Downloads"
echo " https://www.vagrantup.com/downloads.html"
exit 1 exit 1
fi fi
done done

Loading…
Cancel
Save