From 58a98605cf0a40597cdb99b9c85d7ce7844e8010 Mon Sep 17 00:00:00 2001 From: Brian Zalewski <59970525+ProfessorManhattan@users.noreply.github.com> Date: Sat, 4 Nov 2023 01:39:17 -0400 Subject: [PATCH] Update homebrew --- scripts/partials/homebrew | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/partials/homebrew b/scripts/partials/homebrew index d88a1396..b647aec7 100644 --- a/scripts/partials/homebrew +++ b/scripts/partials/homebrew @@ -29,6 +29,8 @@ if ! command -v brew > /dev/null; then # so nothing needs to be done for macOS. if [ -d /home/linuxbrew/.linuxbrew/bin ]; then eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv) + elif [ -f /opt/homebrew/bin/brew ]; then + eval "$(/opt/homebrew/bin/brew shellenv)" fi fi -fi \ No newline at end of file +fi