diff options
| author | Eugene Triguba <eugenetriguba@gmail.com> | 2023-09-29 09:46:31 -0400 |
|---|---|---|
| committer | Eugene Triguba <eugenetriguba@gmail.com> | 2023-09-29 09:46:31 -0400 |
| commit | 7485ee324601055fff36a6e5b4362bbd134ded1e (patch) | |
| tree | c29ec3b25b54d7a40fdbb1e20ec03bf18fd4a57b /bootstrap.sh | |
| parent | Add brewfile (diff) | |
| download | dotfiles-7485ee324601055fff36a6e5b4362bbd134ded1e.zip | |
Rework for mac
Diffstat (limited to 'bootstrap.sh')
| -rwxr-xr-x | bootstrap.sh | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/bootstrap.sh b/bootstrap.sh deleted file mode 100755 index f24e26b..0000000 --- a/bootstrap.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -function install_homebrew() { - /usr/bin/env bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" - (echo; echo 'eval "$(/opt/homebrew/bin/brew shellenv)"') >> $HOME/.zprofile - eval "$(/opt/homebrew/bin/brew shellenv)" - - homebrew_exists=$(command -v brew) - if test -z "$homebrew_exists"; then - echo "Failed to install homebrew" - exit 1 - fi -} - -has_homebrew=$(command -v brew) -if test -z "$has_homebrew"; then - printf "I couldn't find a homebrew installation. Would you like to install homebrew? [y/n]: " - read answer - if [ "$answer" != "${answer#[Yy]}" ]; then - install_homebrew - else - echo "Exiting, can't continue without homebrew installed." - exit 0 - fi -fi - -echo "Found homebrew installation. Installing Brewfile.." -brew bundle |