From 158616a3c15f6221c1327bd77b11c21adbc03750 Mon Sep 17 00:00:00 2001 From: TrudeEH Date: Tue, 23 Apr 2024 17:45:50 +0100 Subject: [PATCH] install homebrew --- PROGRAMS.md | 1 - install.sh | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/PROGRAMS.md b/PROGRAMS.md index 35ad016e..5045da21 100644 --- a/PROGRAMS.md +++ b/PROGRAMS.md @@ -11,7 +11,6 @@ gnome-podcasts geary impression gnome-calendar -nautilus gnome-console gnome-builder epiphany diff --git a/install.sh b/install.sh index a25c7924..b4b3528b 100755 --- a/install.sh +++ b/install.sh @@ -5,6 +5,10 @@ source scripts/p.sh # Install script dependencies p i curl git stow bat fzf eza zoxide less +if [ ! $(command -v brew) ]; then + /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" +fi + if [ $(pwd) != "$HOME/dotfiles" ]; then cd $HOME git clone https://github.com/TrudeEH/dotfiles