From 5623b19b11d96ba0b839efcf0aa37b01890e1cb3 Mon Sep 17 00:00:00 2001 From: "Jorge O. Castro" Date: Tue, 27 Feb 2024 21:03:31 -0500 Subject: [PATCH] fix: warning for brew (#958) --- just/custom.just | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/just/custom.just b/just/custom.just index 41612c6272e..e7a9dabff43 100644 --- a/just/custom.just +++ b/just/custom.just @@ -12,8 +12,19 @@ bluefin-cli: # Install Homebrew | https://brew.sh brew: #!/usr/bin/env bash + source /usr/lib/ujust/ujust.sh if [[ ! -f "/var/home/linuxbrew/.linuxbrew/bin" || ! -x "/var/home/linuxbrew/.linuxbrew/bin/brew" ]]; then - /usr/bin/bash -c '/usr/libexec/brew-install' + echo "${b}Brew Installation${n}" + echo "Please ${b}IGNORE${n} everything the installer tells you to do" + echo "We have already done it for you! You just need to close and re-open the terminal after installation" + echo "Do you understand?" + echo "Please type in \"YES I UNDERSTAND\" and press enter" + read ACCEPT + if [ "$ACCEPT" == "YES I UNDERSTAND" ]; then + /usr/bin/bash -c '/usr/libexec/brew-install' + else + echo "Capitalization matters when you type \"YES I UNDERSTAND\"" + fi fi # Install "fleek" set of packages for brew | none, low, default, high