Skip to content

Commit

Permalink
fix(auto): #24 - fix packages
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandre-delaloy committed Mar 7, 2022
1 parent 0cbff8e commit 5f51991
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions exec/packages/brew.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
source "$PWD"/config/ui.sh
source "$PWD"/config/cfg.sh

exec_a=(NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)")
exec_b=(brew update)
exec_c=(brew upgrade)
exec_d=(brew cleanup)
Expand All @@ -14,7 +13,8 @@ ui_start

if [ "$(which brew)" != 0 ]; then
ui_info "installing brew executable"
ui_cmd "${exec_a[@]}" ; "${exec_a[@]}"
ui_cmd "insall brew"
NONINTERACTIVE=1 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
if [ -f "$HOME"/.zshrc ]; then
ui_info "$HOME/.zshrc detected"
if ! grep -q "eval $(/home/"$USER"/.linuxbrew/bin/brew shellenv)" < "$HOME"/.zshrc ; then
Expand Down

0 comments on commit 5f51991

Please sign in to comment.